Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAttribute(String, String) - Method in class org.htmlcleaner.TagNode
-
Adds specified attribute to this tag or overrides existing one.
- addAttributePatternTransformation(Pattern, String) - Method in class org.htmlcleaner.TagTransformation
- addAttributePatternTransformation(Pattern, Pattern, String) - Method in class org.htmlcleaner.TagTransformation
- addAttributePatternTransformation(AttributeTransformation) - Method in class org.htmlcleaner.TagTransformation
- addAttributeTransformation(String) - Method in class org.htmlcleaner.TagTransformation
-
Adds new attribute transformation in which destination attrbute will not exists (simply removes it from list of attributes).
- addAttributeTransformation(String, String) - Method in class org.htmlcleaner.TagTransformation
-
Adds new attribute transformation to this tag transformation.
- addChild(Object) - Method in class org.htmlcleaner.TagNode
- addChildren(List) - Method in class org.htmlcleaner.TagNode
-
Add all elements from specified list to this node.
- addGlobalTransformation(AttributeTransformation) - Method in class org.htmlcleaner.CleanerTransformations
- addHtmlModificationListener(HtmlModificationListener) - Method in class org.htmlcleaner.CleanerProperties
-
Adds a listener to the list of objects that will be notified about changes that cleaner does during cleanup process.
- addNamespaceDeclaration(String, String) - Method in class org.htmlcleaner.TagNode
-
Adds namespace declaration to the node
- addPruneNode(TagNode, CleanTimeValues) - Method in class org.htmlcleaner.HtmlCleaner
- addPruneTagNodeCondition(ITagNodeCondition) - Method in class org.htmlcleaner.CleanerProperties
-
Adds the condition to existing prune tag set.
- addText(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- addTransformation(TagTransformation) - Method in class org.htmlcleaner.CleanerTransformations
-
Adds specified tag transformation to the collection.
- all - Enum constant in enum class org.htmlcleaner.ContentType
- alwaysOutput - Enum constant in enum class org.htmlcleaner.OptionalOutput
-
Always outputed, if information is not supplied in the source a default is created.
- any - Enum constant in enum class org.htmlcleaner.Display
-
The following elements may be used as either block-level elements or inline elements.
- applyTagTransformations(Map<String, String>) - Method in class org.htmlcleaner.TagTransformation
- AttributeTransformation - Interface in org.htmlcleaner
- AttributeTransformationPatternImpl - Class in org.htmlcleaner
- AttributeTransformationPatternImpl(String, String, String) - Constructor for class org.htmlcleaner.AttributeTransformationPatternImpl
- AttributeTransformationPatternImpl(Pattern, Pattern, String) - Constructor for class org.htmlcleaner.AttributeTransformationPatternImpl
B
- BaseHtmlNode - Class in org.htmlcleaner
- BaseHtmlNode() - Constructor for class org.htmlcleaner.BaseHtmlNode
- BaseToken - Interface in org.htmlcleaner
-
Base token interface.
- BaseTokenImpl - Class in org.htmlcleaner
-
Base class for all tokens.
- BaseTokenImpl() - Constructor for class org.htmlcleaner.BaseTokenImpl
- BaseTokenImpl(int, int) - Constructor for class org.htmlcleaner.BaseTokenImpl
- basicElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- BEGIN_CDATA - Static variable in class org.htmlcleaner.CData
- BelongsTo - Enum Class in org.htmlcleaner
- blank - Variable in class org.htmlcleaner.ContentNode
- block - Enum constant in enum class org.htmlcleaner.Display
-
Block-level elements typically contain inline elements and other block-level elements.
- BODY - Enum constant in enum class org.htmlcleaner.BelongsTo
- BOOL_ATT_EMPTY - Static variable in class org.htmlcleaner.CleanerProperties
- BOOL_ATT_SELF - Static variable in class org.htmlcleaner.CleanerProperties
- BOOL_ATT_TRUE - Static variable in class org.htmlcleaner.CleanerProperties
- BrowserCompactXmlSerializer - Class in org.htmlcleaner
-
Browser compact XML serializer - creates resulting XML by stripping whitespaces wherever possible, but preserving single whitespace where at least one exists.
- BrowserCompactXmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.BrowserCompactXmlSerializer
C
- CData - Class in org.htmlcleaner
- CData(String) - Constructor for class org.htmlcleaner.CData
- charValue() - Method in class org.htmlcleaner.SpecialEntity
- clean(File) - Method in class org.htmlcleaner.HtmlCleaner
- clean(File, String) - Method in class org.htmlcleaner.HtmlCleaner
- clean(InputStream) - Method in class org.htmlcleaner.HtmlCleaner
- clean(InputStream, String) - Method in class org.htmlcleaner.HtmlCleaner
- clean(Reader) - Method in class org.htmlcleaner.HtmlCleaner
- clean(Reader, CleanTimeValues) - Method in class org.htmlcleaner.HtmlCleaner
-
Basic version of the cleaning call.
- clean(String) - Method in class org.htmlcleaner.HtmlCleaner
- clean(URL) - Method in class org.htmlcleaner.HtmlCleaner
-
Deprecated.
- clean(URL, String) - Method in class org.htmlcleaner.HtmlCleaner
-
Deprecated.
- CleanerProperties - Class in org.htmlcleaner
-
Properties defining cleaner's behaviour
- CleanerProperties() - Constructor for class org.htmlcleaner.CleanerProperties
- CleanerProperties(ITagInfoProvider) - Constructor for class org.htmlcleaner.CleanerProperties
- CleanerTransformations - Class in org.htmlcleaner
-
Contains transformation collection.
- CleanerTransformations() - Constructor for class org.htmlcleaner.CleanerTransformations
- CleanerTransformations(Map) - Constructor for class org.htmlcleaner.CleanerTransformations
- clear() - Method in class org.htmlcleaner.CleanerTransformations
- CloseTag - Enum Class in org.htmlcleaner
- CommandLine - Class in org.htmlcleaner
-
Command line usage class.
- CommandLine() - Constructor for class org.htmlcleaner.CommandLine
- CommentNode - Class in org.htmlcleaner
-
HTML comment token.
- CommentNode(String) - Constructor for class org.htmlcleaner.CommentNode
- CompactHtmlSerializer - Class in org.htmlcleaner
-
Compact HTML serializer - creates resulting HTML by stripping whitespaces wherever possible.
- CompactHtmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.CompactHtmlSerializer
- CompactXmlSerializer - Class in org.htmlcleaner
-
Compact XML serializer - creates resulting XML by stripping whitespaces.
- CompactXmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.CompactXmlSerializer
- ConfigFileTagProvider - Class in org.htmlcleaner
-
Configuration file tag provider - reads XML file in specified format and creates a Tag Provider.
- ConfigFileTagProvider(File) - Constructor for class org.htmlcleaner.ConfigFileTagProvider
- ConfigFileTagProvider(URL) - Constructor for class org.htmlcleaner.ConfigFileTagProvider
- ConfigFileTagProvider(InputSource) - Constructor for class org.htmlcleaner.ConfigFileTagProvider
- content - Variable in class org.htmlcleaner.ContentNode
- ContentNode - Class in org.htmlcleaner
-
HTML text token.
- ContentNode(String) - Constructor for class org.htmlcleaner.ContentNode
- ContentType - Enum Class in org.htmlcleaner
- createDocument(TagNode) - Method in class org.htmlcleaner.DomBuilder
- createDocument(TagNode) - Method in class org.htmlcleaner.DomSerializer
- createDOM(TagNode) - Method in class org.htmlcleaner.DomSerializer
- createDOM(TagNode) - Method in class org.htmlcleaner.TraversalDomSerializer
- createJDom(TagNode) - Method in class org.htmlcleaner.JDomSerializer
- createSubnodes(Document, Element, List<? extends BaseToken>) - Method in class org.htmlcleaner.DomSerializer
-
Serialize a given HTML Cleaner node.
D
- DECIMAL - Static variable in class org.htmlcleaner.Utils
- DEFAULT_CHARSET - Static variable in class org.htmlcleaner.CleanerProperties
- DefaultTagProvider - Class in org.htmlcleaner
-
This is the default tag provider for HTML Cleaner Note this is no longer generated from XML - see https://sourceforge.net/p/htmlcleaner/bugs/81/
- DefaultTagProvider() - Constructor for class org.htmlcleaner.DefaultTagProvider
- defineAllowedChildrenTags(String) - Method in class org.htmlcleaner.TagInfo
- defineCloseBeforeCopyInsideTags(String) - Method in class org.htmlcleaner.TagInfo
- defineCloseBeforeTags(String) - Method in class org.htmlcleaner.TagInfo
- defineCloseInsideCopyAfterTags(String) - Method in class org.htmlcleaner.TagInfo
- defineFatalTags(String) - Method in class org.htmlcleaner.TagInfo
- defineForbiddenTags(String) - Method in class org.htmlcleaner.TagInfo
- defineHigherLevelTags(String) - Method in class org.htmlcleaner.TagInfo
- defineRequiredEnclosingTags(String) - Method in class org.htmlcleaner.TagInfo
- Deprecated - Enum constant in enum class org.htmlcleaner.audit.ErrorType
-
The tag was deprecated and current cleaner mode doesn't allows this.
- deserializeCdataEntities - Variable in class org.htmlcleaner.DomBuilder
- deserializeCdataEntities - Variable in class org.htmlcleaner.DomSerializer
- deserializeCdataEntities - Variable in class org.htmlcleaner.TraversalDomSerializer
- deserializeCdataEntities(String) - Method in class org.htmlcleaner.DomBuilder
- deserializeCdataEntities(String) - Method in class org.htmlcleaner.DomSerializer
- deserializeEntities(String, boolean) - Static method in class org.htmlcleaner.Utils
- Display - Enum Class in org.htmlcleaner
-
Most HTML 4 elements permitted within the BODY are classified as either block-level elements or inline elements.
- DoctypeToken - Class in org.htmlcleaner
-
HTML doctype token.
- DoctypeToken(String, String, String, String) - Constructor for class org.htmlcleaner.DoctypeToken
- DoctypeToken(String, String, String, String, String) - Constructor for class org.htmlcleaner.DoctypeToken
- DomBuilder - Class in org.htmlcleaner
- DomBuilder(CleanerProperties, boolean, boolean, boolean) - Constructor for class org.htmlcleaner.DomBuilder
- DomSerializer - Class in org.htmlcleaner
-
DOM serializer - creates xml DOM.
- DomSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.DomSerializer
- DomSerializer(CleanerProperties, boolean) - Constructor for class org.htmlcleaner.DomSerializer
- DomSerializer(CleanerProperties, boolean, boolean) - Constructor for class org.htmlcleaner.DomSerializer
- DomSerializer(CleanerProperties, boolean, boolean, boolean) - Constructor for class org.htmlcleaner.DomSerializer
- dontEscape(TagNode) - Method in class org.htmlcleaner.HtmlSerializer
- dontEscape(TagNode) - Method in class org.htmlcleaner.XmlSerializer
- dontEscape(Element) - Method in class org.htmlcleaner.DomSerializer
-
encapsulate content with <[CDATA[ ]]> for things like script and style elements
E
- editTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
The HTML5 edits tags (2 total)
- embeddedContentTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
- END_CDATA - Static variable in class org.htmlcleaner.CData
- EndTagToken - Class in org.htmlcleaner
-
HTML tag end token.
- EndTagToken() - Constructor for class org.htmlcleaner.EndTagToken
- EndTagToken(String) - Constructor for class org.htmlcleaner.EndTagToken
- ErrorType - Enum Class in org.htmlcleaner.audit
-
Possible error codes (read messages) that cleaner uses to inform clients about reasons/actions that modification involves.
- escapeHtml(String, CleanerProperties) - Static method in class org.htmlcleaner.Utils
-
Escapes HTML string
- escapeText(String) - Method in class org.htmlcleaner.HtmlSerializer
- escapeXml - Variable in class org.htmlcleaner.DomBuilder
- escapeXml - Variable in class org.htmlcleaner.DomSerializer
-
Whether XML entities should be escaped or not.
- escapeXml - Variable in class org.htmlcleaner.JDomSerializer
- escapeXml - Variable in class org.htmlcleaner.TraversalDomSerializer
-
Whether XML entities should be escaped or not.
- escapeXml(String) - Method in class org.htmlcleaner.XmlSerializer
- escapeXml(String, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class org.htmlcleaner.Utils
-
change notes: 1) convert ascii characters encoded using &#xx; format to the ascii characters -- may be an attempt to slip in malicious html 2) convert &#xxx; format characters to " style representation if available for the character.
- escapeXml(String, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class org.htmlcleaner.Utils
-
change notes: 1) convert ascii characters encoded using &#xx; format to the ascii characters -- may be an attempt to slip in malicious html 2) convert &#xxx; format characters to " style representation if available for the character.
- escapeXml(String, CleanerProperties, boolean) - Static method in class org.htmlcleaner.Utils
-
Escapes XML string.
- evaluateAgainst(Collection, int, int, boolean, int, int, boolean, Collection) - Method in class org.htmlcleaner.XPather
- evaluateAgainstNode(TagNode) - Method in class org.htmlcleaner.XPather
-
Main public method for this class - a way to execute XPath expression against specified TagNode instance.
- evaluateFunction(Collection, int, int, int, int, boolean) - Method in class org.htmlcleaner.XPather
-
Evaluates specified function.
- evaluateLogic(Collection, Collection, String) - Method in class org.htmlcleaner.XPather
-
Evaluates logic operation on two collections.
- evaluateTemplate(String, Map<String, String>) - Method in class org.htmlcleaner.TagTransformation
-
Evaluates string template for specified map of variables.
- evaluateXPath(String) - Method in class org.htmlcleaner.TagNode
-
Evaluates XPath expression on give node.
- execute() - Method in class org.htmlcleaner.HtmlCleanerForAnt
-
Implementation of Ant task execution.
F
- FatalTagMissing - Enum constant in enum class org.htmlcleaner.audit.ErrorType
-
Tag which existence is critical for the current is missing.
- filterByCondition(Collection, int, int) - Method in class org.htmlcleaner.XPather
-
Filter nodes satisfying the condition
- findElementByAttValue(String, String, boolean, boolean) - Method in class org.htmlcleaner.TagNode
- findElementByName(String, boolean) - Method in class org.htmlcleaner.TagNode
- findElementHavingAttribute(String, boolean) - Method in class org.htmlcleaner.TagNode
- fireConditionModification(ITagNodeCondition, TagNode) - Method in interface org.htmlcleaner.audit.HtmlModificationListener
-
Fired when cleaner modifies html due to
ITagNodeCondition
match. - fireConditionModification(ITagNodeCondition, TagNode) - Method in class org.htmlcleaner.audit.HtmlModificationListenerLogger
- fireConditionModification(ITagNodeCondition, TagNode) - Method in class org.htmlcleaner.CleanerProperties
- fireHtmlError(boolean, TagNode, ErrorType) - Method in interface org.htmlcleaner.audit.HtmlModificationListener
-
Fired when cleaner fixes some error in html syntax.
- fireHtmlError(boolean, TagNode, ErrorType) - Method in class org.htmlcleaner.audit.HtmlModificationListenerLogger
- fireHtmlError(boolean, TagNode, ErrorType) - Method in class org.htmlcleaner.CleanerProperties
- fireUglyHtml(boolean, TagNode, ErrorType) - Method in interface org.htmlcleaner.audit.HtmlModificationListener
-
Fired when cleaner fixes ugly html -- when syntax was correct but task was implemented by weird code.
- fireUglyHtml(boolean, TagNode, ErrorType) - Method in class org.htmlcleaner.audit.HtmlModificationListenerLogger
- fireUglyHtml(boolean, TagNode, ErrorType) - Method in class org.htmlcleaner.CleanerProperties
- fireUserDefinedModification(boolean, TagNode, ErrorType) - Method in interface org.htmlcleaner.audit.HtmlModificationListener
-
Fired when cleaner modifies html due to user specified rules.
- fireUserDefinedModification(boolean, TagNode, ErrorType) - Method in class org.htmlcleaner.audit.HtmlModificationListenerLogger
- fireUserDefinedModification(boolean, TagNode, ErrorType) - Method in class org.htmlcleaner.CleanerProperties
- forbidden - Enum constant in enum class org.htmlcleaner.CloseTag
-
is not permitted
- formattingElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- formElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- formTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
The HTML5 forms tags (15 total)
- fullUrl(String, String) - Static method in class org.htmlcleaner.Utils
-
Calculates full URL for specified page URL and link which could be full, absolute or relative like there can be found in A or IMG tags.
G
- getAllChildren() - Method in class org.htmlcleaner.TagNode
- getAllElements(boolean) - Method in class org.htmlcleaner.TagNode
- getAllElementsList(boolean) - Method in class org.htmlcleaner.TagNode
- getAllowTags() - Method in class org.htmlcleaner.CleanerProperties
- getAllowTagSet() - Method in class org.htmlcleaner.CleanerProperties
- getAllowTagSet(CleanTimeValues) - Method in class org.htmlcleaner.HtmlCleaner
- getAllTags(CleanTimeValues) - Method in class org.htmlcleaner.HtmlCleaner
- getAsString(String) - Method in class org.htmlcleaner.Serializer
- getAsString(TagNode) - Method in class org.htmlcleaner.Serializer
- getAsString(TagNode, boolean) - Method in class org.htmlcleaner.Serializer
- getAsString(TagNode, String) - Method in class org.htmlcleaner.Serializer
- getAsString(TagNode, String, boolean) - Method in class org.htmlcleaner.Serializer
- getAssumedNamespace() - Method in class org.htmlcleaner.TagInfo
- getAssumedNamespacePrefix() - Method in class org.htmlcleaner.TagInfo
- getAttributeByName(String) - Method in class org.htmlcleaner.TagNode
- getAttributes() - Method in class org.htmlcleaner.TagNode
-
Returns the attributes of the tagnode.
- getAttributesInLowerCase() - Method in class org.htmlcleaner.TagNode
-
Returns the attributes of the tagnode in lower case.
- getBelongsTo() - Method in class org.htmlcleaner.TagInfo
- getBooleanAttributeValues() - Method in class org.htmlcleaner.CleanerProperties
- getCharset() - Method in class org.htmlcleaner.CleanerProperties
- getChildIndex(HtmlNode) - Method in class org.htmlcleaner.TagNode
- getChildren() - Method in class org.htmlcleaner.TagNode
-
Deprecated.
- getChildTagList() - Method in class org.htmlcleaner.TagNode
- getChildTags() - Method in class org.htmlcleaner.TagInfo
- getChildTags() - Method in class org.htmlcleaner.TagNode
- getCleanerTransformations() - Method in class org.htmlcleaner.CleanerProperties
- getCol() - Method in interface org.htmlcleaner.BaseToken
- getCol() - Method in class org.htmlcleaner.BaseTokenImpl
- getCommentedContent() - Method in class org.htmlcleaner.CommentNode
- getContent() - Method in class org.htmlcleaner.CData
- getContent() - Method in class org.htmlcleaner.CommentNode
- getContent() - Method in class org.htmlcleaner.ContentNode
- getContent() - Method in class org.htmlcleaner.DoctypeToken
- getContentType() - Method in class org.htmlcleaner.TagInfo
- getContentWithoutStartAndEndTokens() - Method in class org.htmlcleaner.CData
- getContentWithStartAndEndTokens() - Method in class org.htmlcleaner.CData
- getContinueAfterTags() - Method in class org.htmlcleaner.TagInfo
- getCopyTags() - Method in class org.htmlcleaner.TagInfo
- getDbCode() - Method in enum class org.htmlcleaner.BelongsTo
- getDbCode() - Method in enum class org.htmlcleaner.ContentType
- getDecimalNCR() - Method in class org.htmlcleaner.SpecialEntity
- getDisplay() - Method in class org.htmlcleaner.TagInfo
- getDocType() - Method in class org.htmlcleaner.HtmlTokenizer
- getDocType() - Method in class org.htmlcleaner.TagNode
- getDocument() - Method in class org.htmlcleaner.DomBuilder
- getElementList(ITagNodeCondition, boolean) - Method in class org.htmlcleaner.TagNode
-
Get all elements in the tree that satisfy specified condition.
- getElementListByAttValue(String, String, boolean, boolean) - Method in class org.htmlcleaner.TagNode
- getElementListByName(String, boolean) - Method in class org.htmlcleaner.TagNode
- getElementListHavingAttribute(String, boolean) - Method in class org.htmlcleaner.TagNode
- getElementsByAttValue(String, String, boolean, boolean) - Method in class org.htmlcleaner.TagNode
- getElementsByName(String, boolean) - Method in class org.htmlcleaner.TagNode
- getElementsHavingAttribute(String, boolean) - Method in class org.htmlcleaner.TagNode
- getEscaped(boolean) - Method in class org.htmlcleaner.SpecialEntity
- getEscapedValue() - Method in class org.htmlcleaner.SpecialEntity
- getEscapedXmlString() - Method in class org.htmlcleaner.SpecialEntity
- getFatalTags() - Method in class org.htmlcleaner.TagInfo
- getHexNCR() - Method in class org.htmlcleaner.SpecialEntity
- getHigherTags() - Method in class org.htmlcleaner.TagInfo
- getHtmlString() - Method in class org.htmlcleaner.SpecialEntity
- getHtmlVersion() - Method in class org.htmlcleaner.CleanerProperties
-
Return the html version
- getHyphenReplacementInComment() - Method in class org.htmlcleaner.CleanerProperties
- getInnerHtml(TagNode) - Method in class org.htmlcleaner.HtmlCleaner
-
For the specified node, returns it's content as string.
- getInvalidAttributeNamePrefix() - Method in class org.htmlcleaner.HtmlCleanerForAnt
- getInvalidXmlAttributeNamePrefix() - Method in class org.htmlcleaner.CleanerProperties
-
Get the prefix to use to try to make valid attribute names
- getKey() - Method in class org.htmlcleaner.SpecialEntity
- getMaxDepth() - Method in class org.htmlcleaner.CleanerProperties
- getMaxEntityLength() - Method in class org.htmlcleaner.SpecialEntities
- getMustCloseTags() - Method in class org.htmlcleaner.TagInfo
- getName() - Method in class org.htmlcleaner.DoctypeToken
- getName() - Method in class org.htmlcleaner.TagInfo
- getName() - Method in class org.htmlcleaner.TagNode
- getName() - Method in class org.htmlcleaner.TagToken
- getNamespaceDeclarations() - Method in class org.htmlcleaner.TagNode
- getParent() - Method in class org.htmlcleaner.BaseHtmlNode
- getParent() - Method in interface org.htmlcleaner.HtmlNode
- getPart1() - Method in class org.htmlcleaner.DoctypeToken
- getPart2() - Method in class org.htmlcleaner.DoctypeToken
- getPart3() - Method in class org.htmlcleaner.DoctypeToken
-
Deprecated.
- getPart4() - Method in class org.htmlcleaner.DoctypeToken
-
Deprecated.
- getPermittedTags() - Method in class org.htmlcleaner.TagInfo
- getPreferredChildTag() - Method in class org.htmlcleaner.TagInfo
- getProperties() - Method in class org.htmlcleaner.HtmlCleaner
- getPruneTags() - Method in class org.htmlcleaner.CleanerProperties
- getPruneTagSet() - Method in class org.htmlcleaner.CleanerProperties
- getPruneTagSet(CleanTimeValues) - Method in class org.htmlcleaner.HtmlCleaner
- getPublicId() - Method in class org.htmlcleaner.DoctypeToken
-
This will retrieve the public ID of an externally referenced DTD, or an empty String if none is referenced.
- getRequiredParentTags() - Method in class org.htmlcleaner.TagInfo
- getRow() - Method in interface org.htmlcleaner.BaseToken
- getRow() - Method in class org.htmlcleaner.BaseTokenImpl
- getSiblings() - Method in class org.htmlcleaner.BaseHtmlNode
- getSiblings() - Method in interface org.htmlcleaner.HtmlNode
- getSpecialEntity(String) - Method in class org.htmlcleaner.SpecialEntities
- getSpecialEntityByUnicode(int) - Method in class org.htmlcleaner.SpecialEntities
- getSystemId() - Method in class org.htmlcleaner.DoctypeToken
-
This will retrieve the system ID of an externally referenced DTD, or an empty String if none is referenced.
- getTagInfo(String) - Method in class org.htmlcleaner.ConfigFileTagProvider
- getTagInfo(String) - Method in class org.htmlcleaner.DefaultTagProvider
- getTagInfo(String) - Method in class org.htmlcleaner.Html4TagProvider
- getTagInfo(String) - Method in class org.htmlcleaner.Html5TagProvider
-
It returns the tag information.
- getTagInfo(String) - Method in interface org.htmlcleaner.ITagInfoProvider
- getTagInfo(String, ConcurrentMap<String, TagInfo>) - Method in class org.htmlcleaner.MathMLTagProvider
- getTagInfo(String, CleanTimeValues) - Method in class org.htmlcleaner.HtmlCleaner
-
Returns a TagInfo object for the specified tag name.
- getTagInfoProvider() - Method in class org.htmlcleaner.CleanerProperties
- getTagInfoProvider() - Method in class org.htmlcleaner.HtmlCleaner
- getTagName(String) - Method in class org.htmlcleaner.CleanerTransformations
- getTemplate() - Method in interface org.htmlcleaner.AttributeTransformation
- getTemplate() - Method in class org.htmlcleaner.AttributeTransformationPatternImpl
- getText() - Method in class org.htmlcleaner.TagNode
- getTransformation(String) - Method in class org.htmlcleaner.CleanerTransformations
- getTransformations() - Method in class org.htmlcleaner.HtmlCleaner
- getType() - Method in class org.htmlcleaner.DoctypeToken
-
This will retrieve an integer representing the identified DocType
- getUseCdataFor() - Method in class org.htmlcleaner.CleanerProperties
- getXmlAsString(TagNode) - Method in class org.htmlcleaner.XmlSerializer
-
Deprecated.Use getAsString() instead.
- getXmlAsString(TagNode, String) - Method in class org.htmlcleaner.XmlSerializer
-
Deprecated.Use getAsString() instead.
- getXmlName(String) - Static method in class org.htmlcleaner.Utils
- getXmlNSPrefix(String) - Static method in class org.htmlcleaner.Utils
- getXmlVersion() - Method in class org.htmlcleaner.DomSerializer
- groupingTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
The HTML5 grouping tags (14 total)
H
- handleInterruption() - Method in class org.htmlcleaner.HtmlCleaner
-
Called whenever the thread is interrupted.
- hasAttribute(String) - Method in class org.htmlcleaner.TagNode
-
Checks existence of specified attribute.
- hasChildren() - Method in class org.htmlcleaner.TagNode
- hasTransformationForTag(String) - Method in class org.htmlcleaner.CleanerTransformations
- head(HtmlNode, int) - Method in class org.htmlcleaner.DomBuilder
- head(HtmlNode, int) - Method in interface org.htmlcleaner.XmlVisitor
-
Callback for when a node is first visited.
- HEAD - Enum constant in enum class org.htmlcleaner.BelongsTo
- HEAD_AND_BODY - Enum constant in enum class org.htmlcleaner.BelongsTo
- HEX_RELAXED - Static variable in class org.htmlcleaner.Utils
- HEX_STRICT - Static variable in class org.htmlcleaner.Utils
- HTML_4 - Static variable in class org.htmlcleaner.HtmlCleaner
- HTML_5 - Static variable in class org.htmlcleaner.HtmlCleaner
- HTML4_0 - Static variable in class org.htmlcleaner.DoctypeToken
- HTML4_01 - Static variable in class org.htmlcleaner.DoctypeToken
- HTML4_01_FRAMESET - Static variable in class org.htmlcleaner.DoctypeToken
- HTML4_01_STRICT - Static variable in class org.htmlcleaner.DoctypeToken
- HTML4_01_TRANSITIONAL - Static variable in class org.htmlcleaner.DoctypeToken
- Html4TagProvider - Class in org.htmlcleaner
- Html4TagProvider() - Constructor for class org.htmlcleaner.Html4TagProvider
- HTML5 - Static variable in class org.htmlcleaner.DoctypeToken
- HTML5_LEGACY_TOOL_COMPATIBLE - Static variable in class org.htmlcleaner.DoctypeToken
- Html5TagProvider - Class in org.htmlcleaner
- Html5TagProvider() - Constructor for class org.htmlcleaner.Html5TagProvider
- HtmlCleaner - Class in org.htmlcleaner
-
Main HtmlCleaner class.
- HtmlCleaner() - Constructor for class org.htmlcleaner.HtmlCleaner
-
Constructor - creates cleaner instance with default tag info provider,default version and default properties.
- HtmlCleaner(CleanerProperties) - Constructor for class org.htmlcleaner.HtmlCleaner
-
Constructor - creates the instance with default tag info provider and specified properties
- HtmlCleaner(ITagInfoProvider) - Constructor for class org.htmlcleaner.HtmlCleaner
-
Constructor - creates the instance with specified tag info provider and default properties
- HtmlCleaner(ITagInfoProvider, CleanerProperties) - Constructor for class org.htmlcleaner.HtmlCleaner
-
Constructor - creates the instance with specified tag info provider and specified properties
- HtmlCleanerException - Exception in org.htmlcleaner
-
General HtmlCleaner runtime exception.
- HtmlCleanerException() - Constructor for exception org.htmlcleaner.HtmlCleanerException
- HtmlCleanerException(String) - Constructor for exception org.htmlcleaner.HtmlCleanerException
- HtmlCleanerException(String, Throwable) - Constructor for exception org.htmlcleaner.HtmlCleanerException
- HtmlCleanerException(Throwable) - Constructor for exception org.htmlcleaner.HtmlCleanerException
- HtmlCleanerForAnt - Class in org.htmlcleaner
-
Support for ANT.
- HtmlCleanerForAnt() - Constructor for class org.htmlcleaner.HtmlCleanerForAnt
- HtmlModificationListener - Interface in org.htmlcleaner.audit
-
Implementors can be registered on
CleanerProperties
to receive notifications about modifications made by html cleaner. - HtmlModificationListenerLogger - Class in org.htmlcleaner.audit
- HtmlModificationListenerLogger(Logger) - Constructor for class org.htmlcleaner.audit.HtmlModificationListenerLogger
- HtmlNode - Interface in org.htmlcleaner
-
Marker interface denoting nodes of the document tree
- HtmlSerializer - Class in org.htmlcleaner
-
Abstract HTML serializer - contains common logic for descendants.
- HtmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.HtmlSerializer
- HtmlTokenizer - Class in org.htmlcleaner
-
Main HTML tokenizer.
- HtmlTokenizer(HtmlCleaner, Reader, CleanTimeValues) - Constructor for class org.htmlcleaner.HtmlTokenizer
-
Constructor - creates instance of the parser with specified content.
I
- imgElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- initCleanerTransformations(Map) - Method in class org.htmlcleaner.HtmlCleaner
- inline - Enum constant in enum class org.htmlcleaner.Display
-
Inline elements typically may only contain text and other inline elements.
- insertChild(int, HtmlNode) - Method in class org.htmlcleaner.TagNode
-
Inserts specified node at specified position in array of children
- insertChildAfter(HtmlNode, HtmlNode) - Method in class org.htmlcleaner.TagNode
-
Inserts specified node in the list of children after specified child
- insertChildBefore(HtmlNode, HtmlNode) - Method in class org.htmlcleaner.TagNode
-
Inserts specified node in the list of children before specified child
- INSTANCE - Static variable in class org.htmlcleaner.conditional.TagNodeAutoGeneratedCondition
- INSTANCE - Static variable in class org.htmlcleaner.DefaultTagProvider
- INSTANCE - Static variable in class org.htmlcleaner.Html4TagProvider
- INSTANCE - Static variable in class org.htmlcleaner.Html5TagProvider
- INSTANCE - Static variable in class org.htmlcleaner.SpecialEntities
- INSTANCE2 - Variable in class org.htmlcleaner.Html5TagProvider
- interactiveTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
The HTML5 Interactive tags (4 total)
- intValue() - Method in class org.htmlcleaner.SpecialEntity
- isAddNewlineToHeadAndBody() - Method in class org.htmlcleaner.CleanerProperties
- isAdvancedXmlEscape() - Method in class org.htmlcleaner.CleanerProperties
- isAfterTagLineBreakNeeded() - Method in enum class org.htmlcleaner.Display
- isAllowHtmlInsideAttributes() - Method in class org.htmlcleaner.CleanerProperties
- isAllowInvalidAttributeNames() - Method in class org.htmlcleaner.CleanerProperties
-
If false, when outputting XML, if an attribute name is not valid, attempt to fix it by using a prefix and removing invalid characters.
- isAllowInvalidAttributeNames() - Method in class org.htmlcleaner.HtmlCleanerForAnt
- isAllowMultiWordAttributes() - Method in class org.htmlcleaner.CleanerProperties
- isAutoGenerated() - Method in class org.htmlcleaner.TagNode
- isBlank() - Method in class org.htmlcleaner.ContentNode
- isCopy() - Method in class org.htmlcleaner.TagNode
- isCreatingHtmlDom() - Method in class org.htmlcleaner.XmlSerializer
- isDeprecated() - Method in class org.htmlcleaner.TagInfo
- isDeserializeEntities() - Method in class org.htmlcleaner.CleanerProperties
- isEmpty() - Method in class org.htmlcleaner.TagNode
- isEmptyString(Object) - Static method in class org.htmlcleaner.Utils
- isEmptyTag() - Method in class org.htmlcleaner.TagInfo
- isEndTagPermitted() - Method in enum class org.htmlcleaner.CloseTag
- isFatalTag(String) - Method in class org.htmlcleaner.TagInfo
- isForbiddenAttribute(TagNode, String, String) - Method in class org.htmlcleaner.XmlSerializer
-
Override to add additional conditions.
- isForbiddenTag(TagNode) - Method in class org.htmlcleaner.XmlSerializer
- isForeignMarkup() - Method in class org.htmlcleaner.TagNode
- isFullUrl(String) - Static method in class org.htmlcleaner.Utils
-
Checks if specified link is full URL.
- isHeadOrBody(String) - Method in class org.htmlcleaner.XmlSerializer
- isHtmlSpecialEntity() - Method in class org.htmlcleaner.SpecialEntity
- isIgnoreQuestAndExclam() - Method in class org.htmlcleaner.CleanerProperties
- isKeepWhitespaceAndCommentsInHead() - Method in class org.htmlcleaner.CleanerProperties
- isLeadingAndEndWhitespacesAllowed() - Method in enum class org.htmlcleaner.Display
- isMinimizedTagPermitted() - Method in enum class org.htmlcleaner.CloseTag
- isMinimizedTagPermitted() - Method in class org.htmlcleaner.TagInfo
- isMinimizedTagSyntax(TagNode) - Method in class org.htmlcleaner.HtmlSerializer
- isMinimizedTagSyntax(TagNode) - Method in class org.htmlcleaner.XmlSerializer
- isNamespacesAware() - Method in class org.htmlcleaner.CleanerProperties
- isOmitCdataOutsideScriptAndStyle() - Method in class org.htmlcleaner.CleanerProperties
- isOmitComments() - Method in class org.htmlcleaner.CleanerProperties
- isOmitDeprecatedTags() - Method in class org.htmlcleaner.CleanerProperties
- isOmitDoctypeDeclaration() - Method in class org.htmlcleaner.CleanerProperties
- isOmitHtmlEnvelope() - Method in class org.htmlcleaner.CleanerProperties
- isOmitUnknownTags() - Method in class org.htmlcleaner.CleanerProperties
- isOmitXmlDeclaration() - Method in class org.htmlcleaner.CleanerProperties
- isPruned() - Method in class org.htmlcleaner.TagNode
- isRecognizeUnicodeChars() - Method in class org.htmlcleaner.CleanerProperties
- isRemovingNodeReasonablySafe(TagNode) - Method in class org.htmlcleaner.HtmlCleaner
- isScriptOrStyle(TagNode) - Method in class org.htmlcleaner.Serializer
- isScriptOrStyle(Element) - Method in class org.htmlcleaner.DomSerializer
- isTranslateSpecialEntities() - Method in class org.htmlcleaner.CleanerProperties
- isTransResCharsToNCR() - Method in class org.htmlcleaner.CleanerProperties
- isTransSpecialEntitiesToNCR() - Method in class org.htmlcleaner.CleanerProperties
- isTreatDeprecatedTagsAsContent() - Method in class org.htmlcleaner.CleanerProperties
- isTreatUnknownTagsAsContent() - Method in class org.htmlcleaner.CleanerProperties
- isTrimAttributeValues() - Method in class org.htmlcleaner.CleanerProperties
- isTrimAttributeValues() - Method in class org.htmlcleaner.TagNode
- isUnique() - Method in class org.htmlcleaner.TagInfo
- isUseCdataFor(String) - Method in class org.htmlcleaner.CleanerProperties
- isUseCdataForScriptAndStyle() - Method in class org.htmlcleaner.CleanerProperties
- isUseEmptyElementTags() - Method in class org.htmlcleaner.CleanerProperties
- isValid() - Method in class org.htmlcleaner.DoctypeToken
- isValidHtmlAttributeName(String) - Static method in class org.htmlcleaner.Utils
- isValidXmlIdentifier(String) - Static method in class org.htmlcleaner.Utils
-
Checks whether specified string can be valid tag name or attribute name in xml.
- isValidXmlIdentifierStartChar(String) - Static method in class org.htmlcleaner.Utils
-
Determines whether the initial character of an identifier is valid for XML
- isWhitespaceString(Object) - Static method in class org.htmlcleaner.Utils
-
Checks whether specified object's string representation is empty string (containing of only whitespaces).
- isXmlReservedCharacter(String) - Static method in class org.htmlcleaner.Utils
- ITagInfoProvider - Interface in org.htmlcleaner
-
Provides set of TagInfo instances.
- ITagNodeCondition - Interface in org.htmlcleaner.conditional
-
Used as base for different node checkers.
J
- JDomSerializer - Class in org.htmlcleaner
-
JDom serializer - creates xml JDom instance out of the TagNode.
- JDomSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.JDomSerializer
- JDomSerializer(CleanerProperties, boolean) - Constructor for class org.htmlcleaner.JDomSerializer
L
- layoutElements(TagInfo, ConcurrentMap<String, TagInfo>) - Method in class org.htmlcleaner.MathMLTagProvider
- linkElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- listElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- ltrim(String) - Static method in class org.htmlcleaner.Utils
-
Trims specified string from left.
M
- main(String[]) - Static method in class org.htmlcleaner.CommandLine
- main(String[]) - Static method in class org.htmlcleaner.ConfigFileTagProvider
-
Generates code for tag provider class from specified configuration XML file.
- makeCopy() - Method in class org.htmlcleaner.TagNode
- MathMLTagProvider - Class in org.htmlcleaner
-
It contains the MathML tags to use with Html5 tags
- MathMLTagProvider(TagInfo, ConcurrentMap<String, TagInfo>) - Constructor for class org.htmlcleaner.MathMLTagProvider
- mediaTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
Html5 media-embedded tags (12 tags)
- metadataTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
HTML5 Document metadata tags
N
- name - Variable in class org.htmlcleaner.TagToken
- NON_BREAKABLE_SPACE - Static variable in class org.htmlcleaner.SpecialEntities
- none - Enum constant in enum class org.htmlcleaner.ContentType
-
elements that have no children or content ( for example
).
- none - Enum constant in enum class org.htmlcleaner.Display
-
Elements that are not actually inline or block, usually such elements are not rendered at all.
- NotAllowedTag - Enum constant in enum class org.htmlcleaner.audit.ErrorType
-
The tag wasn't found on list of allowed tags, thus it was removed.
O
- olderElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- omit - Enum constant in enum class org.htmlcleaner.OptionalOutput
-
Never outputed even if supplied in the source.
- optional - Enum constant in enum class org.htmlcleaner.CloseTag
-
or is permitted
- OptionalOutput - Enum Class in org.htmlcleaner
- org.htmlcleaner - package org.htmlcleaner
- org.htmlcleaner.audit - package org.htmlcleaner.audit
- org.htmlcleaner.conditional - package org.htmlcleaner.conditional
- outputCData(CData) - Method in class org.htmlcleaner.DomSerializer
P
- parent - Variable in class org.htmlcleaner.BaseHtmlNode
- phrasingTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
Html5 phrasing tags --text level semantics (31 total) thelw data
- presentationMarkup(TagInfo, ConcurrentMap<String, TagInfo>) - Method in class org.htmlcleaner.MathMLTagProvider
- preserve - Enum constant in enum class org.htmlcleaner.OptionalOutput
-
outputed ONLY if supplied in the source.
- PrettyHtmlSerializer - Class in org.htmlcleaner
-
Pretty HTML serializer - creates resulting HTML with indenting lines.
- PrettyHtmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.PrettyHtmlSerializer
- PrettyHtmlSerializer(CleanerProperties, String) - Constructor for class org.htmlcleaner.PrettyHtmlSerializer
- PrettyXmlSerializer - Class in org.htmlcleaner
-
Pretty XML serializer - creates resulting XML with indenting lines.
- PrettyXmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.PrettyXmlSerializer
- PrettyXmlSerializer(CleanerProperties, String) - Constructor for class org.htmlcleaner.PrettyXmlSerializer
- props - Variable in class org.htmlcleaner.DomSerializer
-
The HTML Cleaner properties set by the user to control the HTML cleaning.
- props - Variable in class org.htmlcleaner.JDomSerializer
- props - Variable in class org.htmlcleaner.Serializer
- put(String, TagInfo) - Method in class org.htmlcleaner.DefaultTagProvider
- put(String, TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- put(String, TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
It inserts the tag node into the tagInfoMap.
- put(String, TagInfo, ConcurrentMap<String, TagInfo>) - Method in class org.htmlcleaner.MathMLTagProvider
- put(SpecialEntity) - Method in class org.htmlcleaner.SpecialEntities
R
- removeAllChildren() - Method in class org.htmlcleaner.TagNode
-
Removes all children (subelements and text content).
- removeAttribute(String) - Method in class org.htmlcleaner.TagNode
-
Removes specified attribute from this tag.
- removeChild(Object) - Method in class org.htmlcleaner.TagNode
-
Remove specified child element from this node.
- removeFromTree() - Method in class org.htmlcleaner.TagNode
-
Remove this node from the tree.
- replaceInvalidXmlIdentifierCharacters(String, String) - Static method in class org.htmlcleaner.Utils
-
Strips out invalid characters from names used for XML Elements and replaces them with the specified character.
- required - Enum constant in enum class org.htmlcleaner.CloseTag
-
is required.
- RequiredParentMissing - Enum constant in enum class org.htmlcleaner.audit.ErrorType
-
Missing parent tag was added for current (i.e.
- reset() - Method in class org.htmlcleaner.CleanerProperties
-
advancedXmlEscape = true; setUseCdataFor("script,style"); translateSpecialEntities = true; recognizeUnicodeChars = true; omitUnknownTags = false; treatUnknownTagsAsContent = false; omitDeprecatedTags = false; treatDeprecatedTagsAsContent = false; omitComments = false; omitXmlDeclaration = OptionalOutput.alwaysOutput; omitDoctypeDeclaration = OptionalOutput.alwaysOutput; omitHtmlEnvelope = OptionalOutput.alwaysOutput; useEmptyElementTags = true; allowMultiWordAttributes = true; allowHtmlInsideAttributes = false; ignoreQuestAndExclam = true; namespacesAware = true; keepHeadWhitespace = true; addNewlineToHeadAndBody = true; hyphenReplacementInComment = "="; pruneTags = null; allowTags = null; booleanAttributeValues = BOOL_ATT_SELF; collapseNullHtml = CollapseHtml.none charset = "UTF-8"; trimAttributeValues = true; tagInfoProvider = HTML5TagProvider.INSTANCE maxDepth = 1000
- rtrim(String) - Static method in class org.htmlcleaner.Utils
-
Trims specified string from right.
S
- SAFE_BEGIN_CDATA - Static variable in class org.htmlcleaner.CData
- SAFE_BEGIN_CDATA_ALT - Static variable in class org.htmlcleaner.CData
- SAFE_END_CDATA - Static variable in class org.htmlcleaner.CData
- SAFE_END_CDATA_ALT - Static variable in class org.htmlcleaner.CData
- sanitizeHtmlAttributeName(String) - Static method in class org.htmlcleaner.Utils
- sanitizeXmlIdentifier(String) - Static method in class org.htmlcleaner.Utils
- sanitizeXmlIdentifier(String, String) - Static method in class org.htmlcleaner.Utils
- sanitizeXmlIdentifier(String, String, String) - Static method in class org.htmlcleaner.Utils
-
Attempts to replace invalid attribute names with valid ones.
- satisfy(String, String) - Method in interface org.htmlcleaner.AttributeTransformation
- satisfy(String, String) - Method in class org.htmlcleaner.AttributeTransformationPatternImpl
- satisfy(TagNode) - Method in interface org.htmlcleaner.conditional.ITagNodeCondition
- satisfy(TagNode) - Method in class org.htmlcleaner.conditional.TagAllCondition
- satisfy(TagNode) - Method in class org.htmlcleaner.conditional.TagNodeAttExistsCondition
- satisfy(TagNode) - Method in class org.htmlcleaner.conditional.TagNodeAttNameValueRegexCondition
- satisfy(TagNode) - Method in class org.htmlcleaner.conditional.TagNodeAttValueCondition
- satisfy(TagNode) - Method in class org.htmlcleaner.conditional.TagNodeAutoGeneratedCondition
- satisfy(TagNode) - Method in class org.htmlcleaner.conditional.TagNodeEmptyContentCondition
- satisfy(TagNode) - Method in class org.htmlcleaner.conditional.TagNodeInsignificantBrCondition
- satisfy(TagNode) - Method in class org.htmlcleaner.conditional.TagNodeNameCondition
- scriptElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- scriptElements(TagInfo, ConcurrentMap<String, TagInfo>) - Method in class org.htmlcleaner.MathMLTagProvider
- scriptingTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
HTML5 scripting tags
- semanticFlowTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
The HTML5 semantic flow tags-Sectioning tags (15 total)
- serialize(Serializer, Writer) - Method in class org.htmlcleaner.BaseHtmlNode
- serialize(Serializer, Writer) - Method in interface org.htmlcleaner.BaseToken
- serialize(Serializer, Writer) - Method in class org.htmlcleaner.CommentNode
- serialize(Serializer, Writer) - Method in class org.htmlcleaner.ContentNode
- serialize(Serializer, Writer) - Method in class org.htmlcleaner.DoctypeToken
- serialize(Serializer, Writer) - Method in class org.htmlcleaner.EndTagToken
- serialize(Serializer, Writer) - Method in class org.htmlcleaner.TagNode
- serialize(TagNode, Writer) - Method in class org.htmlcleaner.BrowserCompactXmlSerializer
- serialize(TagNode, Writer) - Method in class org.htmlcleaner.CompactHtmlSerializer
- serialize(TagNode, Writer) - Method in class org.htmlcleaner.CompactXmlSerializer
- serialize(TagNode, Writer) - Method in class org.htmlcleaner.PrettyHtmlSerializer
- serialize(TagNode, Writer) - Method in class org.htmlcleaner.PrettyXmlSerializer
- serialize(TagNode, Writer) - Method in class org.htmlcleaner.Serializer
- serialize(TagNode, Writer) - Method in class org.htmlcleaner.SimpleHtmlSerializer
- serialize(TagNode, Writer) - Method in class org.htmlcleaner.SimpleXmlSerializer
- serializeAttribute(TagNode, Writer, String, String) - Method in class org.htmlcleaner.XmlSerializer
-
This allows overriding to eliminate forbidden attributes (for example javascript attributes onclick, onblur, etc.
- serializeCData(CData, TagNode, Writer) - Method in class org.htmlcleaner.XmlSerializer
-
Serialize a CDATA section.
- serializeContentToken(ContentNode, TagNode, Writer) - Method in class org.htmlcleaner.XmlSerializer
-
Serialize a content token, escaping where necessary.
- serializeEndTag(TagNode, Writer) - Method in class org.htmlcleaner.XmlSerializer
- serializeEndTag(TagNode, Writer, boolean) - Method in class org.htmlcleaner.HtmlSerializer
- serializeEndTag(TagNode, Writer, boolean) - Method in class org.htmlcleaner.XmlSerializer
- serializeOpenTag(TagNode, Writer) - Method in class org.htmlcleaner.XmlSerializer
- serializeOpenTag(TagNode, Writer, boolean) - Method in class org.htmlcleaner.HtmlSerializer
- serializeOpenTag(TagNode, Writer, boolean) - Method in class org.htmlcleaner.XmlSerializer
- serializePrettyHtml(TagNode, Writer, int, boolean, boolean) - Method in class org.htmlcleaner.PrettyHtmlSerializer
- serializePrettyXml(TagNode, Writer, int) - Method in class org.htmlcleaner.PrettyXmlSerializer
- Serializer - Class in org.htmlcleaner
-
Basic abstract serializer - contains common logic for descendants (methods
writeXXX()
. - Serializer(CleanerProperties) - Constructor for class org.htmlcleaner.Serializer
- setAddNewlineToHeadAndBody(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setAdvancedxmlescape(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setAdvancedXmlEscape(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setAllowhtmlinsideattributes(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setAllowHtmlInsideAttributes(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setAllowInvalidAttributeNames(boolean) - Method in class org.htmlcleaner.CleanerProperties
-
Set whether to allow invalid attribute names, or to try to fix or omit them
- setAllowInvalidAttributeNames(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setAllowmultiwordattributes(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setAllowMultiWordAttributes(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setAllowTags(String) - Method in class org.htmlcleaner.CleanerProperties
- setAssumedNamespace(String) - Method in class org.htmlcleaner.TagInfo
- setAssumedNamespacePrefix(String) - Method in class org.htmlcleaner.TagInfo
- setAttributes(Map<String, String>) - Method in class org.htmlcleaner.TagNode
-
Replace the current set of attributes with a new set.
- setAutoGenerated(boolean) - Method in class org.htmlcleaner.TagNode
- setBelongsTo(BelongsTo) - Method in class org.htmlcleaner.TagInfo
- setBooleanAttributeValues(String) - Method in class org.htmlcleaner.CleanerProperties
- setBooleanatts(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setCharset(String) - Method in class org.htmlcleaner.CleanerProperties
- setChildren(List<? extends BaseToken>) - Method in class org.htmlcleaner.TagNode
- setChildTags(Set<String>) - Method in class org.htmlcleaner.TagInfo
- setCleanerTransformations(CleanerTransformations) - Method in class org.htmlcleaner.CleanerProperties
- setCol(int) - Method in interface org.htmlcleaner.BaseToken
- setCol(int) - Method in class org.htmlcleaner.BaseTokenImpl
- setContinueAfterTags(Set<String>) - Method in class org.htmlcleaner.TagInfo
- setCopyTags(Set<String>) - Method in class org.htmlcleaner.TagInfo
- setCreatingHtmlDom(boolean) - Method in class org.htmlcleaner.XmlSerializer
- setDeprecated(boolean) - Method in class org.htmlcleaner.TagInfo
- setDeserializeEntities(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setDest(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setDisplay(Display) - Method in class org.htmlcleaner.TagInfo
- setDocType(DoctypeToken) - Method in class org.htmlcleaner.TagNode
- setFatalTag(String) - Method in class org.htmlcleaner.TagInfo
- setForeignMarkup(boolean) - Method in class org.htmlcleaner.TagNode
- setHigherTags(Set<String>) - Method in class org.htmlcleaner.TagInfo
- setHtmlVersion(int) - Method in class org.htmlcleaner.CleanerProperties
-
Sets the html version according to the parameter.Also,it sets the tag provider to the appropriate version.
- setHyphenreplacement(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setHyphenReplacementInComment(String) - Method in class org.htmlcleaner.CleanerProperties
- setIgnoreqe(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setIgnoreQuestAndExclam(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setIncharset(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setInnerHtml(TagNode, String) - Method in class org.htmlcleaner.HtmlCleaner
-
For the specified tag node, defines it's html content.
- setInvalidAttributeNamePrefix(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setInvalidXmlAttributeNamePrefix(String) - Method in class org.htmlcleaner.CleanerProperties
-
Sets the prefix to use for xml attributes that are invalid
- setKeepWhitespaceAndCommentsInHead(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setMaxDepth(int) - Method in class org.htmlcleaner.CleanerProperties
- setMustCloseTags(Set<String>) - Method in class org.htmlcleaner.TagInfo
- setName(String) - Method in class org.htmlcleaner.TagInfo
- setNamespacesaware(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setNamespacesAware(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setNodebyxpath(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setOmitCdataOutsideScriptAndStyle(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setOmitcomments(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setOmitComments(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setOmitDeprecatedTags(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setOmitdeprtags(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setOmitdoctypedecl(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setOmitDoctypeDeclaration(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setOmithtmlenvelope(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setOmitHtmlEnvelope(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setOmitunknowntags(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setOmitUnknownTags(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setOmitxmldecl(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setOmitXmlDeclaration(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setOutcharset(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setOutputtype(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setParent(TagNode) - Method in class org.htmlcleaner.BaseHtmlNode
- setParent(TagNode) - Method in interface org.htmlcleaner.HtmlNode
- setPermittedTags(Set<String>) - Method in class org.htmlcleaner.TagInfo
- setPreferredChildTag(String) - Method in class org.htmlcleaner.TagInfo
- setPruned(boolean) - Method in class org.htmlcleaner.TagNode
- setPrunetags(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setPruneTags(String) - Method in class org.htmlcleaner.CleanerProperties
-
Resets prune tags set and adds tag name conditions to it.
- setRecognizeUnicodeChars(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setRequiredParent(String) - Method in class org.htmlcleaner.TagInfo
- setRow(int) - Method in interface org.htmlcleaner.BaseToken
- setRow(int) - Method in class org.htmlcleaner.BaseTokenImpl
- setSpecialentities(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setSrc(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setTaginfofile(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setText(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setTransform(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setTranslateSpecialEntities(boolean) - Method in class org.htmlcleaner.CleanerProperties
-
TODO : use
OptionalOutput
- setTransResCharsToNCR(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setTransSpecialEntitiesToNCR(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setTreatDeprecatedTagsAsContent(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setTreatdeprtagsascontent(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setTreatunknowntagsascontent(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setTreatUnknownTagsAsContent(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setTrimAttributeValues(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setTrimAttributeValues(boolean) - Method in class org.htmlcleaner.TagNode
- setUnicodechars(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setUnique(boolean) - Method in class org.htmlcleaner.TagInfo
- setUsecdata(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setUsecdatafor(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setUseCdataFor(String) - Method in class org.htmlcleaner.CleanerProperties
- setUseCdataForScriptAndStyle(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setUseemptyelementtags(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
- setUseEmptyElementTags(boolean) - Method in class org.htmlcleaner.CleanerProperties
- setXmlVersion(String) - Method in class org.htmlcleaner.DomSerializer
- SimpleHtmlSerializer - Class in org.htmlcleaner
-
Simple HTML serializer - creates resulting HTML without indenting and/or compacting.
- SimpleHtmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.SimpleHtmlSerializer
- SimpleHtmlSerializer(CleanerProperties, boolean) - Constructor for class org.htmlcleaner.SimpleHtmlSerializer
- SimpleXmlSerializer - Class in org.htmlcleaner
-
Simple XML serializer - creates resulting XML without indenting lines.
- SimpleXmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.SimpleXmlSerializer
- SpecialEntities - Class in org.htmlcleaner
-
This class contains map with special entities used in HTML and their unicodes.
- SpecialEntities(boolean, boolean) - Constructor for class org.htmlcleaner.SpecialEntities
- SpecialEntity - Class in org.htmlcleaner
- SpecialEntity(String, int, String, boolean) - Constructor for class org.htmlcleaner.SpecialEntity
- strictErrorChecking - Variable in class org.htmlcleaner.DomBuilder
- strictErrorChecking - Variable in class org.htmlcleaner.DomSerializer
- strictErrorChecking - Variable in class org.htmlcleaner.TraversalDomSerializer
- styleElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
T
- tableElements(TagInfo) - Method in class org.htmlcleaner.Html4TagProvider
- tableElements(TagInfo, ConcurrentMap<String, TagInfo>) - Method in class org.htmlcleaner.MathMLTagProvider
- tableTags(TagInfo) - Method in class org.htmlcleaner.Html5TagProvider
-
The HTML5 table tags (12 total)
- TagAllCondition - Class in org.htmlcleaner.conditional
-
All nodes.
- TagAllCondition() - Constructor for class org.htmlcleaner.conditional.TagAllCondition
- TagInfo - Class in org.htmlcleaner
-
Class contains information about single HTML tag.
It also contains rules for tag balancing. - TagInfo(String, ContentType, BelongsTo, boolean, boolean, boolean, CloseTag, Display) - Constructor for class org.htmlcleaner.TagInfo
- TagNode - Class in org.htmlcleaner
-
XML node tag - basic node of the cleaned HTML tree.
- TagNode(String) - Constructor for class org.htmlcleaner.TagNode
- TagNodeAttExistsCondition - Class in org.htmlcleaner.conditional
-
Checks if node contains specified attribute.
- TagNodeAttExistsCondition(String) - Constructor for class org.htmlcleaner.conditional.TagNodeAttExistsCondition
- TagNodeAttNameValueRegexCondition - Class in org.htmlcleaner.conditional
-
Checks if node has specified attribute with specified value.
- TagNodeAttNameValueRegexCondition(Pattern, Pattern) - Constructor for class org.htmlcleaner.conditional.TagNodeAttNameValueRegexCondition
- TagNodeAttValueCondition - Class in org.htmlcleaner.conditional
-
Checks if node has specified attribute with specified value.
- TagNodeAttValueCondition(String, String, boolean) - Constructor for class org.htmlcleaner.conditional.TagNodeAttValueCondition
- TagNodeAutoGeneratedCondition - Class in org.htmlcleaner.conditional
-
Remove empty autogenerated nodes.
- TagNodeAutoGeneratedCondition() - Constructor for class org.htmlcleaner.conditional.TagNodeAutoGeneratedCondition
- TagNodeEmptyContentCondition - Class in org.htmlcleaner.conditional
-
Checks if node is an inline 0r block element and has empty contents or white/non-breakable spaces only.
- TagNodeEmptyContentCondition(ITagInfoProvider) - Constructor for class org.htmlcleaner.conditional.TagNodeEmptyContentCondition
- TagNodeInsignificantBrCondition - Class in org.htmlcleaner.conditional
-
Checks if node is an insignificant br tag -- is placed at the end or at the start of a block.
- TagNodeInsignificantBrCondition() - Constructor for class org.htmlcleaner.conditional.TagNodeInsignificantBrCondition
- TagNodeNameCondition - Class in org.htmlcleaner.conditional
-
Checks if node has specified name.
- TagNodeNameCondition(String) - Constructor for class org.htmlcleaner.conditional.TagNodeNameCondition
- TagNodeVisitor - Interface in org.htmlcleaner
-
Defines action to be performed on TagNodes
- TagToken - Class in org.htmlcleaner
-
HTML tag token - descendants are start (TagNode) and end token (EndTagToken).
- TagToken() - Constructor for class org.htmlcleaner.TagToken
- TagToken(String) - Constructor for class org.htmlcleaner.TagToken
- TagTransformation - Class in org.htmlcleaner
-
Describes how specified tag is transformed to another one, or is ignored during parsing
- TagTransformation() - Constructor for class org.htmlcleaner.TagTransformation
- TagTransformation(String) - Constructor for class org.htmlcleaner.TagTransformation
-
Creates new tag transformation in which specified tag will be skipped (ignored) during parsing process.
- TagTransformation(String, String) - Constructor for class org.htmlcleaner.TagTransformation
-
Creates new tag transformation from source tag to target tag preserving all source tag attributes.
- TagTransformation(String, String, boolean) - Constructor for class org.htmlcleaner.TagTransformation
-
Creates new tag transformation from source tag to target tag specifying whether source tag attributes are preserved.
- tail(HtmlNode, int) - Method in class org.htmlcleaner.DomBuilder
- tail(HtmlNode, int) - Method in interface org.htmlcleaner.XmlVisitor
-
Callback for when a node is last visited, after all of its descendants have been visited.
- text - Enum constant in enum class org.htmlcleaner.ContentType
- tokenElements(TagInfo, ConcurrentMap<String, TagInfo>) - Method in class org.htmlcleaner.MathMLTagProvider
- tokenize(String, String) - Static method in class org.htmlcleaner.Utils
- toString() - Method in class org.htmlcleaner.BaseTokenImpl
- toString() - Method in class org.htmlcleaner.CData
- toString() - Method in class org.htmlcleaner.CommentNode
- toString() - Method in class org.htmlcleaner.conditional.TagNodeAutoGeneratedCondition
- toString() - Method in class org.htmlcleaner.ContentNode
- toString() - Method in class org.htmlcleaner.DoctypeToken
- toString() - Method in class org.htmlcleaner.EndTagToken
- toString() - Method in class org.htmlcleaner.TagToken
- toString(Document) - Static method in class org.htmlcleaner.TraversalDomSerializer
- toValue(Object) - Static method in enum class org.htmlcleaner.BelongsTo
- toValue(Object) - Static method in enum class org.htmlcleaner.ContentType
- transformAttributes(String, Map<String, String>) - Method in class org.htmlcleaner.CleanerTransformations
- TraversalDomSerializer - Class in org.htmlcleaner
-
A traversal-based serializer for DOM; used to avoid recursion and stack overflow for large HTML documents.
- TraversalDomSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.TraversalDomSerializer
- TraversalDomSerializer(CleanerProperties, boolean) - Constructor for class org.htmlcleaner.TraversalDomSerializer
- TraversalDomSerializer(CleanerProperties, boolean, boolean) - Constructor for class org.htmlcleaner.TraversalDomSerializer
- TraversalDomSerializer(CleanerProperties, boolean, boolean, boolean) - Constructor for class org.htmlcleaner.TraversalDomSerializer
- traverse(TagNodeVisitor) - Method in class org.htmlcleaner.TagNode
-
Traverses the tree and performs visitor's action on each node.
- traverse(XmlVisitor, HtmlNode) - Static method in class org.htmlcleaner.XmlTraversor
-
Start a depth-first traverse of the root and all of its descendants.
U
- UnclosedTag - Enum constant in enum class org.htmlcleaner.audit.ErrorType
-
No matching close token was found for the open tag.
- UniqueTagDuplicated - Enum constant in enum class org.htmlcleaner.audit.ErrorType
-
Second instance of an unique tag was found, most likely it was removed.
- Unknown - Enum constant in enum class org.htmlcleaner.audit.ErrorType
-
The tag is unknown and current cleaner mode doesn't allows this.
- UNKNOWN - Static variable in class org.htmlcleaner.DoctypeToken
- UnpermittedChild - Enum constant in enum class org.htmlcleaner.audit.ErrorType
-
This tag have bad child that shouldn't be here.
- updateTagTransformations(String, String) - Method in class org.htmlcleaner.CleanerTransformations
- updateTagTransformations(Map) - Method in class org.htmlcleaner.CleanerTransformations
- Utils - Class in org.htmlcleaner
-
Common utilities.
- Utils() - Constructor for class org.htmlcleaner.Utils
V
- valueOf(String) - Static method in enum class org.htmlcleaner.audit.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.htmlcleaner.BelongsTo
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.htmlcleaner.CloseTag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.htmlcleaner.ContentType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.htmlcleaner.Display
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.htmlcleaner.OptionalOutput
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.htmlcleaner.audit.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.htmlcleaner.BelongsTo
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.htmlcleaner.CloseTag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.htmlcleaner.ContentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.htmlcleaner.Display
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.htmlcleaner.OptionalOutput
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VAR_END - Static variable in class org.htmlcleaner.TagTransformation
- VAR_START - Static variable in class org.htmlcleaner.TagTransformation
- visit(TagNode, HtmlNode) - Method in interface org.htmlcleaner.TagNodeVisitor
-
Action to be performed on single node in the tree
W
- write(TagNode, Writer, String) - Method in class org.htmlcleaner.Serializer
-
Writes specified node using specified writer.
- write(TagNode, Writer, String, boolean) - Method in class org.htmlcleaner.Serializer
-
Writes specified node using specified writer.
- writeToFile(TagNode, String) - Method in class org.htmlcleaner.Serializer
-
Writes specified TagNode to the file, using system default charset.
- writeToFile(TagNode, String, boolean) - Method in class org.htmlcleaner.Serializer
-
Writes specified TagNode to the file, using specified charset and optionally omits node envelope (skips open and close tags of the node).
- writeToFile(TagNode, String, String) - Method in class org.htmlcleaner.Serializer
-
Writes specified TagNode to the file, using specified charset.
- writeToFile(TagNode, String, String, boolean) - Method in class org.htmlcleaner.Serializer
-
Writes specified TagNode to the file, using specified charset and optionally omits node envelope (skips open and close tags of the node).
- writeToStream(TagNode, OutputStream) - Method in class org.htmlcleaner.Serializer
-
Writes specified TagNode to the output stream, using system default charset.
- writeToStream(TagNode, OutputStream, boolean) - Method in class org.htmlcleaner.Serializer
-
Writes specified TagNode to the output stream, using system default charset and optionally omits node envelope (skips open and close tags of the node).
- writeToStream(TagNode, OutputStream, String) - Method in class org.htmlcleaner.Serializer
-
Writes specified TagNode to the output stream, using specified charset.
- writeToStream(TagNode, OutputStream, String, boolean) - Method in class org.htmlcleaner.Serializer
-
Writes specified TagNode to the output stream, using specified charset and optionally omits node envelope (skips open and close tags of the node).
- writeXml(TagNode, Writer, String) - Method in class org.htmlcleaner.XmlSerializer
-
Deprecated.Use write() instead.
- writeXmlToFile(TagNode, String) - Method in class org.htmlcleaner.XmlSerializer
-
Deprecated.Use writeToFile() instead.
- writeXmlToFile(TagNode, String, String) - Method in class org.htmlcleaner.XmlSerializer
-
Deprecated.Use writeToFile() instead.
- writeXmlToStream(TagNode, OutputStream) - Method in class org.htmlcleaner.XmlSerializer
-
Deprecated.Use writeToStream() instead.
- writeXmlToStream(TagNode, OutputStream, String) - Method in class org.htmlcleaner.XmlSerializer
-
Deprecated.Use writeToStream() instead.
X
- XHTML1_0_FRAMESET - Static variable in class org.htmlcleaner.DoctypeToken
- XHTML1_0_STRICT - Static variable in class org.htmlcleaner.DoctypeToken
- XHTML1_0_TRANSITIONAL - Static variable in class org.htmlcleaner.DoctypeToken
- XHTML1_1 - Static variable in class org.htmlcleaner.DoctypeToken
- XHTML1_1_BASIC - Static variable in class org.htmlcleaner.DoctypeToken
- XMLNS_NAMESPACE - Static variable in class org.htmlcleaner.XmlSerializer
- XmlSerializer - Class in org.htmlcleaner
-
Abstract XML serializer - contains common logic for descendants.
- XmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.XmlSerializer
- XmlTraversor - Class in org.htmlcleaner
-
Depth-first node traversor.
- XmlTraversor() - Constructor for class org.htmlcleaner.XmlTraversor
- xmlVersion - Variable in class org.htmlcleaner.DomSerializer
- XmlVisitor - Interface in org.htmlcleaner
-
Node visitor interface.
- XPather - Class in org.htmlcleaner
-
Utility for searching cleaned document tree with XPath expressions.
- XPather(String) - Constructor for class org.htmlcleaner.XPather
-
Constructor - creates XPather instance with specified XPath expression.
- XPatherException - Exception in org.htmlcleaner
-
Exception that could occure during XPather evaluation.
- XPatherException() - Constructor for exception org.htmlcleaner.XPatherException
- XPatherException(String) - Constructor for exception org.htmlcleaner.XPatherException
- XPatherException(String, Throwable) - Constructor for exception org.htmlcleaner.XPatherException
- XPatherException(Throwable) - Constructor for exception org.htmlcleaner.XPatherException
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
TagNode.getChildTagList()
, will be refactored and possibly removed in future versions. TODO This method should be refactored because is does not properly match the commonly used Java's getter/setter strategy.