Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetAttr (0.04 sec)

  1. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            // Test setAttr
            tag.setAttr("data-role", "button");
            assertTrue(tag.toString().contains("attrName=data-role"));
            assertTrue(tag.toString().contains("attrValue=button"));
    
            // Test overwriting values
            tag.setId("new-id");
            tag.setCss("new-class");
            tag.setAttr("role", "link");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/PrunedTag.java

         * Sets a custom attribute name-value pair that this pruned tag should match.
         *
         * @param name the attribute name to match
         * @param value the attribute value to match
         */
        public void setAttr(final String name, final String value) {
            attrName = name;
            attrValue = value;
        }
    
        @Override
        public String toString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. RELEASE.md

            which would previously raise an error. This will correspond to an
            attribute name with an embedded '.' symbol (e.g. 'a.b'), which can only
            be accessed indirectly (e.g. through getattr and setattr). To set this
            up the user will first need to explicitly add the variable to the hparam
            object (e.g. "hparams.add_hparam(name='a.b', value=0.0)").
        *   Benchmark for tf.scan in graph and eager modes.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (1)
Back to top