- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for HtmlToXmlJavadocLexer (0.17 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java
/** * Normalises and cleans up HTML to convert it to XML semantics. */ public class HtmlToXmlJavadocLexer implements JavadocLexer { private final JavadocLexer lexer; private final Set<String> blockElements = new HashSet<String>(); private final Set<String> blockContent = new HashSet<String>(); public HtmlToXmlJavadocLexer(JavadocLexer lexer) { this.lexer = lexer; blockElements.add("p");
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy
"text<h2>header</h2>text" | "<p>text</p><h2>header</h2><p>text</p>" } def parse(String source) { def lexer = new HtmlToXmlJavadocLexer(new BasicJavadocLexer(new JavadocScanner(source))) def result = new StringBuilder() lexer.visit(new JavadocLexer.TokenVisitor() { @Override void onStartHtmlElement(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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java
private DocCommentImpl parse(String rawCommentText, ClassMetaData classMetaData, CommentSource inheritedCommentSource, GenerationListener listener) { JavadocLexer lexer = new HtmlToXmlJavadocLexer(new BasicJavadocLexer(new JavadocScanner(rawCommentText))); DocBookBuilder nodes = new DocBookBuilder(document); final HtmlGeneratingTokenHandler handler = new HtmlGeneratingTokenHandler(nodes, document);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 29.3K bytes - Viewed (0)