Package org.bndly.common.html
Interface ParserConfig
-
- All Known Implementing Classes:
DefaultParserConfig
public interface ParserConfigA parser config is used byParserwhile parsing a HTML document. The config allows the parser to detect self closing tags such as <br> or whitespaces.- Author:
- cybercon <bndly@cybercon.de>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAllowedAttributeNameCharacter(char c)booleanisAutomaticLowerCaseEnabled(String tagName)booleanisCharacterWithRequiredHtmlEntity(char c)booleanisCharacterWithRequiredHtmlEntityInAttribute(char c)booleanisCharacterWithRequiredHtmlEntityInText(char c)booleanisCommentParsingEnabled()booleanisIncompleteEntityTolerated()booleanisSelfClosingTag(String tagName)booleanisUnbalancedTagTolerated()booleanisUnquotedAttributeValueTolerated()booleanisWhiteSpace(char c)
-
-
-
Method Detail
-
isWhiteSpace
boolean isWhiteSpace(char c)
-
isSelfClosingTag
boolean isSelfClosingTag(String tagName)
-
isAutomaticLowerCaseEnabled
boolean isAutomaticLowerCaseEnabled(String tagName)
-
isAllowedAttributeNameCharacter
boolean isAllowedAttributeNameCharacter(char c)
-
isCharacterWithRequiredHtmlEntity
boolean isCharacterWithRequiredHtmlEntity(char c)
-
isCharacterWithRequiredHtmlEntityInText
boolean isCharacterWithRequiredHtmlEntityInText(char c)
-
isCharacterWithRequiredHtmlEntityInAttribute
boolean isCharacterWithRequiredHtmlEntityInAttribute(char c)
-
isUnquotedAttributeValueTolerated
boolean isUnquotedAttributeValueTolerated()
-
isUnbalancedTagTolerated
boolean isUnbalancedTagTolerated()
-
isIncompleteEntityTolerated
boolean isIncompleteEntityTolerated()
-
isCommentParsingEnabled
boolean isCommentParsingEnabled()
-
-