|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParseFilter
ParseFilter's determine which elements and attributes are acceptable within a parsed document. They are set via the ParserOptions.setParseFilter method.
Method Summary | |
---|---|
boolean |
acceptable(QName qname)
Returns true if elements with the given QName are acceptable |
boolean |
acceptable(QName qname,
QName attribute)
Returns true if attributes with the given qname appearing on elements with the given qname are acceptable |
Object |
clone()
Clone this ParseFilter |
boolean |
getIgnoreComments()
Return true if the parser should ignore comments |
boolean |
getIgnoreProcessingInstructions()
Return true if the parser should ignore processing instructions |
boolean |
getIgnoreWhitespace()
Return true if the parser should ignore insignificant whitespace |
ParseFilter |
setIgnoreComments(boolean ignore)
True if the parser should ignore comments |
ParseFilter |
setIgnoreProcessingInstructions(boolean ignore)
True if the parser should ignore processing instructions |
ParseFilter |
setIgnoreWhitespace(boolean ignore)
True if the parser should ignore insignificant whitespace |
Method Detail |
---|
Object clone() throws CloneNotSupportedException
CloneNotSupportedException
boolean acceptable(QName qname)
boolean acceptable(QName qname, QName attribute)
boolean getIgnoreComments()
boolean getIgnoreWhitespace()
boolean getIgnoreProcessingInstructions()
ParseFilter setIgnoreComments(boolean ignore)
ParseFilter setIgnoreWhitespace(boolean ignore)
ParseFilter setIgnoreProcessingInstructions(boolean ignore)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |