org.htmlcleaner
Class CleanerProperties

java.lang.Object
  extended by org.htmlcleaner.CleanerProperties

public class CleanerProperties
extends Object

Properties defining cleaner's behaviour


Field Summary
static String BOOL_ATT_EMPTY
           
static String BOOL_ATT_SELF
           
static String BOOL_ATT_TRUE
           
 
Constructor Summary
CleanerProperties()
           
 
Method Summary
 String getBooleanAttributeValues()
           
 String getHyphenReplacementInComment()
           
 String getPruneTags()
           
 ITagInfoProvider getTagInfoProvider()
           
 boolean isAdvancedXmlEscape()
           
 boolean isAllowHtmlInsideAttributes()
           
 boolean isAllowMultiWordAttributes()
           
 boolean isIgnoreQuestAndExclam()
           
 boolean isNamespacesAware()
           
 boolean isOmitComments()
           
 boolean isOmitDeprecatedTags()
           
 boolean isOmitDoctypeDeclaration()
           
 boolean isOmitHtmlEnvelope()
           
 boolean isOmitUnknownTags()
           
 boolean isOmitXmlDeclaration()
           
 boolean isRecognizeUnicodeChars()
           
 boolean isTranslateSpecialEntities()
           
 boolean isTransResCharsToNCR()
           
 boolean isTransSpecialEntitiesToNCR()
           
 boolean isTreatDeprecatedTagsAsContent()
           
 boolean isTreatUnknownTagsAsContent()
           
 boolean isUseCdataForScriptAndStyle()
           
 boolean isUseEmptyElementTags()
           
 void setAdvancedXmlEscape(boolean advancedXmlEscape)
           
 void setAllowHtmlInsideAttributes(boolean allowHtmlInsideAttributes)
           
 void setAllowMultiWordAttributes(boolean allowMultiWordAttributes)
           
 void setBooleanAttributeValues(String booleanAttributeValues)
           
 void setHyphenReplacementInComment(String hyphenReplacementInComment)
           
 void setIgnoreQuestAndExclam(boolean ignoreQuestAndExclam)
           
 void setNamespacesAware(boolean namespacesAware)
           
 void setOmitComments(boolean omitComments)
           
 void setOmitDeprecatedTags(boolean omitDeprecatedTags)
           
 void setOmitDoctypeDeclaration(boolean omitDoctypeDeclaration)
           
 void setOmitHtmlEnvelope(boolean omitHtmlEnvelope)
           
 void setOmitUnknownTags(boolean omitUnknownTags)
           
 void setOmitXmlDeclaration(boolean omitXmlDeclaration)
           
 void setPruneTags(String pruneTags)
           
 void setRecognizeUnicodeChars(boolean recognizeUnicodeChars)
           
 void setTranslateSpecialEntities(boolean translateSpecialEntities)
           
 void setTransResCharsToNCR(boolean transResCharsToNCR)
           
 void setTransSpecialEntitiesToNCR(boolean transSpecialEntitiesToNCR)
           
 void setTreatDeprecatedTagsAsContent(boolean treatDeprecatedTagsAsContent)
           
 void setTreatUnknownTagsAsContent(boolean treatUnknownTagsAsContent)
           
 void setUseCdataForScriptAndStyle(boolean useCdataForScriptAndStyle)
           
 void setUseEmptyElementTags(boolean useEmptyElementTags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOL_ATT_SELF

public static final String BOOL_ATT_SELF
See Also:
Constant Field Values

BOOL_ATT_EMPTY

public static final String BOOL_ATT_EMPTY
See Also:
Constant Field Values

BOOL_ATT_TRUE

public static final String BOOL_ATT_TRUE
See Also:
Constant Field Values
Constructor Detail

CleanerProperties

public CleanerProperties()
Method Detail

getTagInfoProvider

public ITagInfoProvider getTagInfoProvider()

isAdvancedXmlEscape

public boolean isAdvancedXmlEscape()

setAdvancedXmlEscape

public void setAdvancedXmlEscape(boolean advancedXmlEscape)

isTransResCharsToNCR

public boolean isTransResCharsToNCR()

setTransResCharsToNCR

public void setTransResCharsToNCR(boolean transResCharsToNCR)

isUseCdataForScriptAndStyle

public boolean isUseCdataForScriptAndStyle()

setUseCdataForScriptAndStyle

public void setUseCdataForScriptAndStyle(boolean useCdataForScriptAndStyle)

isTranslateSpecialEntities

public boolean isTranslateSpecialEntities()

setTranslateSpecialEntities

public void setTranslateSpecialEntities(boolean translateSpecialEntities)

isTransSpecialEntitiesToNCR

public boolean isTransSpecialEntitiesToNCR()

setTransSpecialEntitiesToNCR

public void setTransSpecialEntitiesToNCR(boolean transSpecialEntitiesToNCR)

isRecognizeUnicodeChars

public boolean isRecognizeUnicodeChars()

setRecognizeUnicodeChars

public void setRecognizeUnicodeChars(boolean recognizeUnicodeChars)

isOmitUnknownTags

public boolean isOmitUnknownTags()

setOmitUnknownTags

public void setOmitUnknownTags(boolean omitUnknownTags)

isTreatUnknownTagsAsContent

public boolean isTreatUnknownTagsAsContent()

setTreatUnknownTagsAsContent

public void setTreatUnknownTagsAsContent(boolean treatUnknownTagsAsContent)

isOmitDeprecatedTags

public boolean isOmitDeprecatedTags()

setOmitDeprecatedTags

public void setOmitDeprecatedTags(boolean omitDeprecatedTags)

isTreatDeprecatedTagsAsContent

public boolean isTreatDeprecatedTagsAsContent()

setTreatDeprecatedTagsAsContent

public void setTreatDeprecatedTagsAsContent(boolean treatDeprecatedTagsAsContent)

isOmitComments

public boolean isOmitComments()

setOmitComments

public void setOmitComments(boolean omitComments)

isOmitXmlDeclaration

public boolean isOmitXmlDeclaration()

setOmitXmlDeclaration

public void setOmitXmlDeclaration(boolean omitXmlDeclaration)

isOmitDoctypeDeclaration

public boolean isOmitDoctypeDeclaration()

setOmitDoctypeDeclaration

public void setOmitDoctypeDeclaration(boolean omitDoctypeDeclaration)

isOmitHtmlEnvelope

public boolean isOmitHtmlEnvelope()

setOmitHtmlEnvelope

public void setOmitHtmlEnvelope(boolean omitHtmlEnvelope)

isUseEmptyElementTags

public boolean isUseEmptyElementTags()

setUseEmptyElementTags

public void setUseEmptyElementTags(boolean useEmptyElementTags)

isAllowMultiWordAttributes

public boolean isAllowMultiWordAttributes()

setAllowMultiWordAttributes

public void setAllowMultiWordAttributes(boolean allowMultiWordAttributes)

isAllowHtmlInsideAttributes

public boolean isAllowHtmlInsideAttributes()

setAllowHtmlInsideAttributes

public void setAllowHtmlInsideAttributes(boolean allowHtmlInsideAttributes)

isIgnoreQuestAndExclam

public boolean isIgnoreQuestAndExclam()

setIgnoreQuestAndExclam

public void setIgnoreQuestAndExclam(boolean ignoreQuestAndExclam)

isNamespacesAware

public boolean isNamespacesAware()

setNamespacesAware

public void setNamespacesAware(boolean namespacesAware)

getHyphenReplacementInComment

public String getHyphenReplacementInComment()

setHyphenReplacementInComment

public void setHyphenReplacementInComment(String hyphenReplacementInComment)

getPruneTags

public String getPruneTags()

setPruneTags

public void setPruneTags(String pruneTags)

getBooleanAttributeValues

public String getBooleanAttributeValues()

setBooleanAttributeValues

public void setBooleanAttributeValues(String booleanAttributeValues)


Copyright © 2006-2011. All Rights Reserved.