Uses of Interface
org.htmlcleaner.BaseToken
Packages that use BaseToken
-
Uses of BaseToken in org.htmlcleaner
Subinterfaces of BaseToken in org.htmlcleanerModifier and TypeInterfaceDescriptioninterfaceMarker interface denoting nodes of the document treeClasses in org.htmlcleaner that implement BaseTokenModifier and TypeClassDescriptionclassclassBase class for all tokens.classclassHTML comment token.classHTML text token.classHTML doctype token.classHTML tag end token.(package private) classATagNodethat only really holds whitespace or comments - allows usingContentNodein places where aTagNodeis expected.private classUsed to implement serialization with missing envelope - omiting open and close tags, just serialize children.classXML node tag - basic node of the cleaned HTML tree.classHTML tag token - descendants are start (TagNode) and end token (EndTagToken).Fields in org.htmlcleaner with type parameters of type BaseTokenMethods in org.htmlcleaner that return BaseTokenMethods in org.htmlcleaner that return types with arguments of type BaseTokenModifier and TypeMethodDescriptionTagNode.getAllChildren()TagNode.getItemsToMove()BaseHtmlNode.getSiblings()HtmlNode.getSiblings()HtmlTokenizer.getTokenList()Methods in org.htmlcleaner with parameters of type BaseTokenModifier and TypeMethodDescriptionprivate void(package private) booleanTagInfo.allowsItem(BaseToken token) private voidHtmlCleaner.handleEndTagToken(BaseToken token, ListIterator<BaseToken> nodeIterator, List nodeList, CleanTimeValues cleanTimeValues) Process rules for a new end tag token in the HTML tree.private voidHtmlCleaner.handleStartTagToken(BaseToken token, ListIterator<BaseToken> nodeIterator, List nodeList, CleanTimeValues cleanTimeValues) Processes all the rules associated with a new opening tag in the HTML treeprivate booleanHtmlCleaner.isAllowedInLastOpenTag(BaseToken token, CleanTimeValues cleanTimeValues) Method parameters in org.htmlcleaner with type arguments of type BaseTokenModifier and TypeMethodDescriptionprotected voidDomSerializer.createSubnodes(Document document, Element element, List<? extends BaseToken> tagChildren) Serialize a given HTML Cleaner node.private voidJDomSerializer.createSubnodes(org.jdom2.Element element, List<? extends BaseToken> tagChildren) private StringPrettyHtmlSerializer.getSingleLineOfChildren(List<? extends BaseToken> children) private StringPrettyXmlSerializer.getSingleLineOfChildren(List<? extends BaseToken> children) private voidHtmlCleaner.handleEndTagToken(BaseToken token, ListIterator<BaseToken> nodeIterator, List nodeList, CleanTimeValues cleanTimeValues) Process rules for a new end tag token in the HTML tree.private voidHtmlCleaner.handleStartTagToken(BaseToken token, ListIterator<BaseToken> nodeIterator, List nodeList, CleanTimeValues cleanTimeValues) Processes all the rules associated with a new opening tag in the HTML treeprivate static booleanHtmlCleaner.isCopiedTokenEqualToNextThreeCopiedTokens(TagNode copiedStartToken, ListIterator<BaseToken> nodeIterator) Determines if a copied token is equal to the next 3 tokens in the iterator.(package private) voidHtmlCleaner.makeTree(List nodeList, ListIterator<BaseToken> nodeIterator, CleanTimeValues cleanTimeValues) This method generally mutates flattened list of tokens into tree structure.private voidHtmlCleaner.reopenBrokenNode(ListIterator<BaseToken> nodeIterator, TagNode toReopen, CleanTimeValues cleanTimeValues) voidTagNode.setChildren(List<? extends BaseToken> children) (package private) voidTagNode.setItemsToMove(List<BaseToken> itemsToMove)