|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParserOptions
Parser options are used to modify the behavior of the parser.
Method Summary | |
---|---|
boolean |
getAutodetectCharset()
|
java.lang.String |
getCharset()
Returns the default character set to use for the parsed document |
Factory |
getFactory()
Returns the factory the parser should use |
boolean |
getIgnoreComments()
|
boolean |
getIgnoreDoctype()
|
boolean |
getIgnoreProcessingInstructions()
|
boolean |
getIgnoreWhitespace()
|
ParseFilter |
getParseFilter()
Returns the Parse Filter. |
TextFilter |
getTextFilter()
Returns the TextFilter. |
void |
setAutodetectCharset(boolean detect)
|
void |
setCharset(java.lang.String charset)
Sets the character set to use for the parsed document |
void |
setFactory(Factory factory)
Sets the factory the parser should use |
void |
setIgnoreComments(boolean ignore)
|
void |
setIgnoreDoctype(boolean ignore)
|
void |
setIgnoreProcessingInstructions(boolean ignore)
|
void |
setIgnoreWhitespace(boolean ignore)
|
void |
setParseFilter(ParseFilter parseFilter)
Sets the Parse Filter. |
void |
setTextFilter(TextFilter textFilter)
Sets the TextFilter. |
Method Detail |
---|
Factory getFactory()
void setFactory(Factory factory)
java.lang.String getCharset()
void setCharset(java.lang.String charset)
ParseFilter getParseFilter()
void setParseFilter(ParseFilter parseFilter)
TextFilter getTextFilter()
void setTextFilter(TextFilter textFilter)
boolean getAutodetectCharset()
void setAutodetectCharset(boolean detect)
void setIgnoreDoctype(boolean ignore)
void setIgnoreComments(boolean ignore)
void setIgnoreWhitespace(boolean ignore)
void setIgnoreProcessingInstructions(boolean ignore)
boolean getIgnoreDoctype()
boolean getIgnoreComments()
boolean getIgnoreWhitespace()
boolean getIgnoreProcessingInstructions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |