Skip navigation links
A B C D E F G H I J L M N O P R S T U V W X 

A

addAttribute(String, String) - Method in class org.htmlcleaner.TagNode
Deprecated.
Use setAttribute instead Adds specified attribute to this tag or overrides existing one.
addAttributeTransformation(String, String) - Method in class org.htmlcleaner.TagTransformation
Adds new attribute transformation to this tag transformation.
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).
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.
addEntity(String, int) - Static method in class org.htmlcleaner.SpecialEntity
Add new entity to the set.
addNamespaceDeclaration(String, String) - Method in class org.htmlcleaner.TagNode
Adds namespace declaration to the node
addTagInfo(TagInfo) - Method in class org.htmlcleaner.DefaultTagProvider
Sets new tag info.
addText(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
addTransformation(TagTransformation) - Method in class org.htmlcleaner.CleanerTransformations
Adds specified tag transformation to the collection.

B

BaseToken - Interface in org.htmlcleaner
Base token interface.
BODY - Static variable in class org.htmlcleaner.TagInfo
 
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
Broswer 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

clean(String) - Method in class org.htmlcleaner.HtmlCleaner
 
clean(File, String) - Method in class org.htmlcleaner.HtmlCleaner
 
clean(File) - Method in class org.htmlcleaner.HtmlCleaner
 
clean(URL, String) - Method in class org.htmlcleaner.HtmlCleaner
 
clean(URL) - Method in class org.htmlcleaner.HtmlCleaner
Creates instance from the content downloaded from specified URL.
clean(InputStream, String) - Method in class org.htmlcleaner.HtmlCleaner
 
clean(InputStream) - Method in class org.htmlcleaner.HtmlCleaner
 
clean(Reader) - Method in class org.htmlcleaner.HtmlCleaner
 
clean(Reader, HtmlCleaner.CleanTimeValues) - Method in class org.htmlcleaner.HtmlCleaner
Basic version of the cleaning call.
CleanerProperties - Class in org.htmlcleaner
Properties defining cleaner's behaviour
CleanerProperties() - Constructor for class org.htmlcleaner.CleanerProperties
 
CleanerTransformations - Class in org.htmlcleaner
Contains transformation collection.
CleanerTransformations() - Constructor for class org.htmlcleaner.CleanerTransformations
 
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
Default tag provider - reads XML file in specified format and creates tag infos
ConfigFileTagProvider(InputSource) - Constructor for class org.htmlcleaner.ConfigFileTagProvider
 
ConfigFileTagProvider(File) - Constructor for class org.htmlcleaner.ConfigFileTagProvider
 
ConfigFileTagProvider(URL) - Constructor for class org.htmlcleaner.ConfigFileTagProvider
 
CONTENT_ALL - Static variable in class org.htmlcleaner.TagInfo
 
CONTENT_NONE - Static variable in class org.htmlcleaner.TagInfo
 
CONTENT_TEXT - Static variable in class org.htmlcleaner.TagInfo
 
ContentNode - Class in org.htmlcleaner
HTML text token.
ContentNode(String) - Constructor for class org.htmlcleaner.ContentNode
 
createDOM(TagNode) - Method in class org.htmlcleaner.DomSerializer
 
createJDom(TagNode) - Method in class org.htmlcleaner.JDomSerializer
 

D

DEFAULT_CHARSET - Static variable in class org.htmlcleaner.HtmlCleaner
 
DefaultTagProvider - Class in org.htmlcleaner
This class is automatically created from ConfigFileTagProvider which reads default XML configuration file with tag descriptions.
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
 
DoctypeToken - Class in org.htmlcleaner
HTML doctype token.
DoctypeToken(String, String, String, String) - Constructor for class org.htmlcleaner.DoctypeToken
 
DomSerializer - Class in org.htmlcleaner
DOM serializer - creates xml DOM.
DomSerializer(CleanerProperties, boolean) - Constructor for class org.htmlcleaner.DomSerializer
 
DomSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.DomSerializer
 
dontEscape(TagNode) - Method in class org.htmlcleaner.HtmlSerializer
 
dontEscape(TagNode) - Method in class org.htmlcleaner.XmlSerializer
 

E

EndTagToken - Class in org.htmlcleaner
HTML tag end token.
EndTagToken() - Constructor for class org.htmlcleaner.EndTagToken
 
EndTagToken(String) - Constructor for class org.htmlcleaner.EndTagToken
 
escapeText(String) - Method in class org.htmlcleaner.HtmlSerializer
 
escapeXml - Variable in class org.htmlcleaner.DomSerializer
 
escapeXml - Variable in class org.htmlcleaner.JDomSerializer
 
escapeXml(String, CleanerProperties, boolean) - Static method in class org.htmlcleaner.Utils
Escapes XML string.
escapeXml(String) - Method in class org.htmlcleaner.XmlSerializer
 
evaluateAgainstNode(TagNode) - Method in class org.htmlcleaner.XPather
Main public method for this class - a way to execute XPath expression against specified TagNode instance.
evaluateTemplate(String, Map) - Static method in class org.htmlcleaner.Utils
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

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
 
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

getAllElements(boolean) - Method in class org.htmlcleaner.TagNode
 
getAllElementsList(boolean) - Method in class org.htmlcleaner.TagNode
 
getAsString(TagNode, String, boolean) - Method in class org.htmlcleaner.Serializer
 
getAsString(TagNode, String) - Method in class org.htmlcleaner.Serializer
 
getAsString(TagNode, boolean) - Method in class org.htmlcleaner.Serializer
 
getAsString(TagNode) - Method in class org.htmlcleaner.Serializer
 
getAttributeByName(String) - Method in class org.htmlcleaner.TagNode
 
getAttributes() - Method in class org.htmlcleaner.TagNode
 
getBelongsTo() - Method in class org.htmlcleaner.TagInfo
 
getBooleanAttributeValues() - Method in class org.htmlcleaner.CleanerProperties
 
getCharacter() - Method in class org.htmlcleaner.SpecialEntity
 
getCharsetFromContent(URL) - Static method in class org.htmlcleaner.Utils
 
getCharsetFromContentTypeString(String) - Static method in class org.htmlcleaner.Utils
 
getChildIndex(HtmlNode) - Method in class org.htmlcleaner.TagNode
 
getChildren() - Method in class org.htmlcleaner.TagNode
 
getChildTagList() - Method in class org.htmlcleaner.TagNode
 
getChildTags() - Method in class org.htmlcleaner.TagInfo
 
getChildTags() - Method in class org.htmlcleaner.TagNode
 
getCommentedContent() - Method in class org.htmlcleaner.CommentNode
 
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
 
getContinueAfterTags() - Method in class org.htmlcleaner.TagInfo
 
getCopyTags() - Method in class org.htmlcleaner.TagInfo
 
getDecimalNCR() - Method in class org.htmlcleaner.SpecialEntity
 
getDocType() - Method in class org.htmlcleaner.HtmlTokenizer
 
getDocType() - Method in class org.htmlcleaner.TagNode
 
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
 
getEntity(String) - Static method in class org.htmlcleaner.SpecialEntity
 
getEscapedValue() - Method in class org.htmlcleaner.SpecialEntity
 
getFatalTag() - Method in class org.htmlcleaner.TagInfo
 
getHexNCR() - Method in class org.htmlcleaner.SpecialEntity
 
getHigherTags() - Method in class org.htmlcleaner.TagInfo
 
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.
getInstance() - Static method in class org.htmlcleaner.DefaultTagProvider
 
getIntCode() - Method in class org.htmlcleaner.SpecialEntity
 
getKey() - Method in class org.htmlcleaner.SpecialEntity
 
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.TagToken
 
getNamespaceDeclarations() - Method in class org.htmlcleaner.TagNode
 
getParent() - Method in class org.htmlcleaner.TagNode
 
getPart1() - Method in class org.htmlcleaner.DoctypeToken
 
getPart2() - Method in class org.htmlcleaner.DoctypeToken
 
getPart3() - Method in class org.htmlcleaner.DoctypeToken
 
getPart4() - Method in class org.htmlcleaner.DoctypeToken
 
getPermittedTags() - Method in class org.htmlcleaner.TagInfo
 
getProperties() - Method in class org.htmlcleaner.HtmlCleaner
 
getPruneTags() - Method in class org.htmlcleaner.CleanerProperties
 
getRequiredParent() - Method in class org.htmlcleaner.TagInfo
 
getTagInfo(String) - Method in class org.htmlcleaner.ConfigFileTagProvider
 
getTagInfo(String) - Method in class org.htmlcleaner.DefaultTagProvider
 
getTagInfo(String) - Method in interface org.htmlcleaner.ITagInfoProvider
 
getTagInfoProvider() - Method in class org.htmlcleaner.CleanerProperties
 
getTagInfoProvider() - Method in class org.htmlcleaner.HtmlCleaner
 
getText() - Method in class org.htmlcleaner.TagNode
 
getTransformation(String) - Method in class org.htmlcleaner.CleanerTransformations
 
getTransformations() - Method in class org.htmlcleaner.HtmlCleaner
 
getXmlAsString(TagNode, String) - Method in class org.htmlcleaner.XmlSerializer
Deprecated.
Use getAsString() instead.
getXmlAsString(TagNode) - 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
 

H

hasAttribute(String) - Method in class org.htmlcleaner.TagNode
Checks existance of specified attribute.
hasChildren() - Method in class org.htmlcleaner.TagNode
 
hasTransformationForTag(String) - Method in class org.htmlcleaner.CleanerTransformations
 
HEAD - Static variable in class org.htmlcleaner.TagInfo
 
HEAD_AND_BODY - Static variable in class org.htmlcleaner.TagInfo
 
HtmlCleaner - Class in org.htmlcleaner
Main HtmlCleaner class.
HtmlCleaner() - Constructor for class org.htmlcleaner.HtmlCleaner
Constructor - creates cleaner instance with default tag info provider and default properties.
HtmlCleaner(ITagInfoProvider) - Constructor for class org.htmlcleaner.HtmlCleaner
Constructor - creates the instance with specified tag info provider 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, 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(Throwable) - Constructor for exception org.htmlcleaner.HtmlCleanerException
 
HtmlCleanerException(String) - Constructor for exception org.htmlcleaner.HtmlCleanerException
 
HtmlCleanerException(String, Throwable) - Constructor for exception org.htmlcleaner.HtmlCleanerException
 
HtmlCleanerForAnt - Class in org.htmlcleaner
Support for ANT.
HtmlCleanerForAnt() - Constructor for class org.htmlcleaner.HtmlCleanerForAnt
 
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(Reader, CleanerProperties, CleanerTransformations, ITagInfoProvider) - Constructor for class org.htmlcleaner.HtmlTokenizer
Constructor - cretes instance of the parser with specified content.

I

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
isAdvancedXmlEscape() - Method in class org.htmlcleaner.CleanerProperties
 
isAllowHtmlInsideAttributes() - Method in class org.htmlcleaner.CleanerProperties
 
isAllowMultiWordAttributes() - Method in class org.htmlcleaner.CleanerProperties
 
isDeprecated() - Method in class org.htmlcleaner.TagInfo
 
isEmptyString(Object) - Static method in class org.htmlcleaner.Utils
 
isEmptyTag() - Method in class org.htmlcleaner.TagInfo
 
isFullUrl(String) - Static method in class org.htmlcleaner.Utils
Checks if specified link is full URL.
isHexadecimalDigit(char) - Static method in class org.htmlcleaner.Utils
 
isIdentifierHelperChar(char) - Static method in class org.htmlcleaner.Utils
Checks if specified character can be part of xml identifier (tag name of attribute name) and is not standard identifier character.
isIgnorePermitted() - Method in class org.htmlcleaner.TagInfo
 
isIgnoreQuestAndExclam() - Method in class org.htmlcleaner.CleanerProperties
 
isMinimizedTagSyntax(TagNode) - Method in class org.htmlcleaner.HtmlSerializer
 
isMinimizedTagSyntax(TagNode) - Method in class org.htmlcleaner.XmlSerializer
 
isNamespacesAware() - 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
 
isRecognizeUnicodeChars() - Method in class org.htmlcleaner.CleanerProperties
 
isReservedXmlChar(char) - Static method in class org.htmlcleaner.Utils
 
isScriptOrStyle(TagNode) - Method in class org.htmlcleaner.Serializer
 
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
 
isUnique() - Method in class org.htmlcleaner.TagInfo
 
isUseCdataForScriptAndStyle() - Method in class org.htmlcleaner.CleanerProperties
 
isUseEmptyElementTags() - Method in class org.htmlcleaner.CleanerProperties
 
isValid() - Method in class org.htmlcleaner.DoctypeToken
 
isValidInt(String, int) - Static method in class org.htmlcleaner.Utils
 
isValidXmlChar(char) - Static method in class org.htmlcleaner.Utils
 
isValidXmlIdentifier(String) - Static method in class org.htmlcleaner.Utils
Chacks whether specified string can be valid tag name or attribute name in xml.
isWhitespaceString(Object) - Static method in class org.htmlcleaner.Utils
Checks whether specified object's string representation is empty string (containing of only whitespaces).
ITagInfoProvider - Interface in org.htmlcleaner
Provides set of TagInfo instances.

J

JDomSerializer - Class in org.htmlcleaner
JDom serializer - creates xml JDom instance out of the TagNode.
JDomSerializer(CleanerProperties, boolean) - Constructor for class org.htmlcleaner.JDomSerializer
 
JDomSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.JDomSerializer
 

L

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.

N

name - Variable in class org.htmlcleaner.TagToken
 

O

org.htmlcleaner - package org.htmlcleaner
 

P

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
 
props - Variable in class org.htmlcleaner.JDomSerializer
 
props - Variable in class org.htmlcleaner.Serializer
 

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.
removeTagInfo(String) - Method in class org.htmlcleaner.DefaultTagProvider
Removes tag info with specified name.
replaceChild(HtmlNode, HtmlNode) - Method in class org.htmlcleaner.TagNode
Replaces specified child node with specified replacement node.
RESERVED_XML_CHARS - Static variable in class org.htmlcleaner.Utils
 
rtrim(String) - Static method in class org.htmlcleaner.Utils
Trims specified string from right.

S

satisfy(TagNode) - Method in interface org.htmlcleaner.TagNode.ITagNodeCondition
 
satisfy(TagNode) - Method in class org.htmlcleaner.TagNode.TagAllCondition
 
satisfy(TagNode) - Method in class org.htmlcleaner.TagNode.TagNodeAttExistsCondition
 
satisfy(TagNode) - Method in class org.htmlcleaner.TagNode.TagNodeAttValueCondition
 
satisfy(TagNode) - Method in class org.htmlcleaner.TagNode.TagNodeNameCondition
 
serialize(Serializer, Writer) - Method in interface org.htmlcleaner.BaseToken
 
serialize(TagNode, Writer) - Method in class org.htmlcleaner.BrowserCompactXmlSerializer
 
serialize(Serializer, Writer) - Method in class org.htmlcleaner.CommentNode
 
serialize(TagNode, Writer) - Method in class org.htmlcleaner.CompactHtmlSerializer
 
serialize(TagNode, Writer) - Method in class org.htmlcleaner.CompactXmlSerializer
 
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(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
 
serialize(Serializer, Writer) - Method in class org.htmlcleaner.TagNode
 
serializeEndTag(TagNode, Writer, boolean) - Method in class org.htmlcleaner.HtmlSerializer
 
serializeEndTag(TagNode, Writer, boolean) - 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
 
setAdvancedXmlEscape(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setAdvancedxmlescape(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setAllowHtmlInsideAttributes(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setAllowhtmlinsideattributes(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setAllowMultiWordAttributes(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setAllowmultiwordattributes(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setAttribute(String, String) - Method in class org.htmlcleaner.TagNode
Adding new attribute ir overriding existing one.
setBelongsTo(int) - Method in class org.htmlcleaner.TagInfo
 
setBooleanAttributeValues(String) - Method in class org.htmlcleaner.CleanerProperties
 
setBooleanatts(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setChildTags(Set) - Method in class org.htmlcleaner.TagInfo
 
setContinueAfterTags(Set) - Method in class org.htmlcleaner.TagInfo
 
setCopyTags(Set) - Method in class org.htmlcleaner.TagInfo
 
setDeprecated(boolean) - Method in class org.htmlcleaner.TagInfo
 
setDest(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setDocType(DoctypeToken) - Method in class org.htmlcleaner.TagNode
 
setFatalTag(String) - Method in class org.htmlcleaner.TagInfo
 
setHigherTags(Set) - Method in class org.htmlcleaner.TagInfo
 
setHyphenreplacement(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setHyphenReplacementInComment(String) - Method in class org.htmlcleaner.CleanerProperties
 
setIgnorePermitted(boolean) - Method in class org.htmlcleaner.TagInfo
 
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.
setMustCloseTags(Set) - Method in class org.htmlcleaner.TagInfo
 
setName(String) - Method in class org.htmlcleaner.TagInfo
 
setName(String) - Method in class org.htmlcleaner.TagNode
Changes name of the tag
setNamespacesAware(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setNamespacesaware(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setNodebyxpath(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setOmitComments(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setOmitcomments(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
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
 
setOmitenvelope(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setOmitHtmlEnvelope(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setOmithtmlenvelope(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setOmitUnknownTags(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setOmitunknowntags(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
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
 
setPermittedTags(Set) - Method in class org.htmlcleaner.TagInfo
 
setPruneTags(String) - Method in class org.htmlcleaner.CleanerProperties
 
setPrunetags(String) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setRecognizeUnicodeChars(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setRequiredParent(String) - Method in class org.htmlcleaner.TagInfo
 
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
 
setTransformations(CleanerTransformations) - Method in class org.htmlcleaner.HtmlCleaner
Sets tranformations for this cleaner instance.
setTranslateSpecialEntities(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setTransResCharsToNCR(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setTransrescharstoncr(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setTransSpecialEntitiesToNCR(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setTransspecialentitiestoncr(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setTreatDeprecatedTagsAsContent(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setTreatdeprtagsascontent(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setTreatUnknownTagsAsContent(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setTreatunknowntagsascontent(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setUnicodechars(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setUnique(boolean) - Method in class org.htmlcleaner.TagInfo
 
setUsecdata(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
setUseCdataForScriptAndStyle(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setUseEmptyElementTags(boolean) - Method in class org.htmlcleaner.CleanerProperties
 
setUseemptyelementtags(boolean) - Method in class org.htmlcleaner.HtmlCleanerForAnt
 
SimpleHtmlSerializer - Class in org.htmlcleaner
Simple HTML serializer - creates resulting HTML without indenting and/or compacting.
SimpleHtmlSerializer(CleanerProperties) - 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
 
SpecialEntity - Class in org.htmlcleaner
This class contains map with special entities used in HTML and their unicodes.

T

TagAllCondition() - Constructor for class org.htmlcleaner.TagNode.TagAllCondition
 
TagInfo - Class in org.htmlcleaner
Class contains information about single HTML tag.
It also contains rules for tag balancing.
TagInfo(String, int, int, boolean, boolean, boolean) - 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
 
TagNode.ITagNodeCondition - Interface in org.htmlcleaner
Used as base for different node checkers.
TagNode.TagAllCondition - Class in org.htmlcleaner
All nodes.
TagNode.TagNodeAttExistsCondition - Class in org.htmlcleaner
Checks if node contains specified attribute.
TagNode.TagNodeAttValueCondition - Class in org.htmlcleaner
Checks if node has specified attribute with specified value.
TagNode.TagNodeNameCondition - Class in org.htmlcleaner
Checks if node has specified name.
TagNodeAttExistsCondition(String) - Constructor for class org.htmlcleaner.TagNode.TagNodeAttExistsCondition
 
TagNodeAttValueCondition(String, String, boolean) - Constructor for class org.htmlcleaner.TagNode.TagNodeAttValueCondition
 
TagNodeNameCondition(String) - Constructor for class org.htmlcleaner.TagNode.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(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.
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) - Constructor for class org.htmlcleaner.TagTransformation
Creates new tag transformation in which specified tag will be skipped (ignored) during parsing process.
tokenize(String, String) - Static method in class org.htmlcleaner.Utils
 
toString() - Method in class org.htmlcleaner.CommentNode
 
toString() - Method in class org.htmlcleaner.ContentNode
 
toString() - Method in class org.htmlcleaner.DoctypeToken
 
toString() - Method in class org.htmlcleaner.TagToken
 
traverse(TagNodeVisitor) - Method in class org.htmlcleaner.TagNode
Traverses the tree and performs visitor's action on each node.

U

updateTagTransformations(CleanerTransformations, String, String) - Static method in class org.htmlcleaner.Utils
 
Utils - Class in org.htmlcleaner
Common utilities.
Utils() - Constructor for class org.htmlcleaner.Utils
 

V

VAR_END - Static variable in class org.htmlcleaner.Utils
 
VAR_START - Static variable in class org.htmlcleaner.Utils
 
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, 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, 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) - Method in class org.htmlcleaner.Serializer
Writes specified TagNode to the file, using system default 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).
writeToStream(TagNode, OutputStream, String) - Method in class org.htmlcleaner.Serializer
Writes specified TagNode to the output stream, using specified 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) - Method in class org.htmlcleaner.Serializer
Writes specified TagNode to the output stream, using system default charset.
writeXml(TagNode, Writer, String) - Method in class org.htmlcleaner.XmlSerializer
Deprecated.
Use write() instead.
writeXmlToFile(TagNode, String, String) - Method in class org.htmlcleaner.XmlSerializer
Deprecated.
Use writeToFile() instead.
writeXmlToFile(TagNode, String) - Method in class org.htmlcleaner.XmlSerializer
Deprecated.
Use writeToFile() instead.
writeXmlToStream(TagNode, OutputStream, String) - Method in class org.htmlcleaner.XmlSerializer
Deprecated.
Use writeToStream() instead.
writeXmlToStream(TagNode, OutputStream) - Method in class org.htmlcleaner.XmlSerializer
Deprecated.
Use writeToStream() instead.

X

XmlSerializer - Class in org.htmlcleaner
Abstract XML serializer - contains common logic for descendants.
XmlSerializer(CleanerProperties) - Constructor for class org.htmlcleaner.XmlSerializer
 
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(Throwable) - Constructor for exception org.htmlcleaner.XPatherException
 
XPatherException(String) - Constructor for exception org.htmlcleaner.XPatherException
 
XPatherException(String, Throwable) - Constructor for exception org.htmlcleaner.XPatherException
 
A B C D E F G H I J L M N O P R S T U V W X 
Skip navigation links

Copyright © 2006–2014. All rights reserved.