Searched refs:HtmlLexer (Results 1 – 7 of 7) sorted by relevance
130 HtmlLexer lexer = new HtmlLexer(html); in sanitize()147 balancer.closeTag(HtmlLexer.canonicalName( in sanitize()168 attrs.add(HtmlLexer.canonicalName( in sanitize()186 HtmlLexer.canonicalName( in sanitize()
203 elementName = HtmlLexer.canonicalName(elementName); in allowElements()251 elementName = HtmlLexer.canonicalName(elementName); in allowTextIn()260 elementName = HtmlLexer.canonicalName(elementName); in disallowTextIn()276 elementName = HtmlLexer.canonicalName(elementName); in allowWithoutAttributes()291 elementName = HtmlLexer.canonicalName(elementName); in disallowWithoutAttributes()304 b.add(HtmlLexer.canonicalName(attributeName)); in allowAttributes()738 b.add(HtmlLexer.canonicalName(elementName));
178 name = HtmlLexer.canonicalName(name); in writeOpenTag()225 elementName = HtmlLexer.canonicalName(elementName); in writeCloseTag()372 elementName = HtmlLexer.canonicalName(elementName); in safeName()
46 final class HtmlLexer extends AbstractTokenStream { class51 public HtmlLexer(String input) { in HtmlLexer() method in HtmlLexer697 return HtmlLexer.canonicalName(input.substring(start, end)); in canonicalName()
79 String canonElementName = HtmlLexer.canonicalName(elementName); in openTag()142 String canonElementName = HtmlLexer.canonicalName(elementName); in closeTag()
125 HtmlLexer lexer = new HtmlLexer(input); in lex()149 HtmlLexer lexer = new HtmlLexer(markup); in assertTokens()
5 COMMENT [<!-- a test input for HtmlLexer -->] : 99-13415 TEXT [Test File For HtmlLexer & HtmlParser] : 157-197