Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for onHtmlElementAttribute (0.13 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            lexer.pushText("<a name='value' other='\n&amp; &apos;\n \"'>")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartHtmlElement('a')
            1 * visitor.onHtmlElementAttribute('name', 'value')
            1 * visitor.onHtmlElementAttribute('other', '\n& \'\n \"')
            1 * visitor.onStartHtmlElementComplete('a')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLexer.java

         */
        void visit(TokenVisitor visitor);
    
        class TokenVisitor {
            void onStartHtmlElement(String name) {
            }
    
            void onHtmlElementAttribute(String name, String value) {
            }
    
            void onStartHtmlElementComplete(String name) {
            }
    
            void onEndHtmlElement(String name) {
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                    }
                }
            }
    
            @Override
            public void onStartHtmlElement(String name) {
                attributes.clear();
            }
    
            @Override
            public void onHtmlElementAttribute(String name, String value) {
                attributes.put(name, value);
            }
    
            @Override
            public void onStartHtmlElementComplete(String name) {
                if (name.equals("li")) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

                    } else {
                        attrValue.append(scanner.getFirst());
                        scanner.next();
                    }
                }
                visitor.onHtmlElementAttribute(attrName, attrValue.toString());
                scanner.next();
                scanner.skip(WHITESPACE_WITH_EOL);
            }
    
            if (!isEnd) {
                visitor.onStartHtmlElementComplete(elementName);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

                @Override
                void onStartHtmlElement(String name) {
                    result.append("<$name")
                }
    
                @Override
                void onHtmlElementAttribute(String name, String value) {
                    result.append(" $name='$value'")
                }
    
                @Override
                void onStartHtmlElementComplete(String name) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                tagHandlers.add(handler);
            }
    
            @Override
            void onStartHtmlElement(String name) {
                attributes.clear();
            }
    
            @Override
            void onHtmlElementAttribute(String name, String value) {
                attributes.put(name, value);
            }
    
            @Override
            void onStartHtmlElementComplete(String name) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
Back to top