Uses of Interface
org.htmlcleaner.BaseToken
Packages that use BaseToken
-
Uses of BaseToken in org.htmlcleaner
Subinterfaces of BaseToken in org.htmlcleanerModifier and TypeInterfaceDescriptioninterface
Marker interface denoting nodes of the document treeClasses in org.htmlcleaner that implement BaseTokenModifier and TypeClassDescriptionclass
class
Base class for all tokens.class
class
HTML comment token.class
HTML text token.class
HTML doctype token.class
HTML tag end token.(package private) class
ATagNode
that only really holds whitespace or comments - allows usingContentNode
in places where aTagNode
is expected.private class
Used to implement serialization with missing envelope - omiting open and close tags, just serialize children.class
XML node tag - basic node of the cleaned HTML tree.class
HTML 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) boolean
TagInfo.allowsItem
(BaseToken token) private void
HtmlCleaner.handleEndTagToken
(BaseToken token, ListIterator<BaseToken> nodeIterator, List nodeList, CleanTimeValues cleanTimeValues) Process rules for a new end tag token in the HTML tree.private void
HtmlCleaner.handleStartTagToken
(BaseToken token, ListIterator<BaseToken> nodeIterator, List nodeList, CleanTimeValues cleanTimeValues) Processes all the rules associated with a new opening tag in the HTML treeprivate boolean
HtmlCleaner.isAllowedInLastOpenTag
(BaseToken token, CleanTimeValues cleanTimeValues) Method parameters in org.htmlcleaner with type arguments of type BaseTokenModifier and TypeMethodDescriptionprotected void
DomSerializer.createSubnodes
(Document document, Element element, List<? extends BaseToken> tagChildren) Serialize a given HTML Cleaner node.private void
JDomSerializer.createSubnodes
(org.jdom2.Element element, List<? extends BaseToken> tagChildren) private String
PrettyHtmlSerializer.getSingleLineOfChildren
(List<? extends BaseToken> children) private String
PrettyXmlSerializer.getSingleLineOfChildren
(List<? extends BaseToken> children) private void
HtmlCleaner.handleEndTagToken
(BaseToken token, ListIterator<BaseToken> nodeIterator, List nodeList, CleanTimeValues cleanTimeValues) Process rules for a new end tag token in the HTML tree.private void
HtmlCleaner.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 boolean
HtmlCleaner.isCopiedTokenEqualToNextThreeCopiedTokens
(TagNode copiedStartToken, ListIterator<BaseToken> nodeIterator) Determines if a copied token is equal to the next 3 tokens in the iterator.(package private) void
HtmlCleaner.makeTree
(List nodeList, ListIterator<BaseToken> nodeIterator, CleanTimeValues cleanTimeValues) This method generally mutates flattened list of tokens into tree structure.private void
HtmlCleaner.reopenBrokenNode
(ListIterator<BaseToken> nodeIterator, TagNode toReopen, CleanTimeValues cleanTimeValues) void
TagNode.setChildren
(List<? extends BaseToken> children) (package private) void
TagNode.setItemsToMove
(List<BaseToken> itemsToMove)