|
|||||||||
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(javax.xml.namespace.QName qname)
Returns true if elements with the given QName are acceptable |
boolean |
acceptable(javax.xml.namespace.QName qname,
javax.xml.namespace.QName attribute)
Returns true if attributes with the given qname appearing on elements with the given qname are acceptable |
java.lang.Object |
clone()
|
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 |
void |
setIgnoreComments(boolean ignore)
Return true if the parser should ignore comments |
void |
setIgnoreProcessingInstructions(boolean ignore)
|
void |
setIgnoreWhitespace(boolean ignore)
Return true if the parser should ignore insignificant whitespace |
Method Detail |
---|
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
boolean acceptable(javax.xml.namespace.QName qname)
boolean acceptable(javax.xml.namespace.QName qname, javax.xml.namespace.QName attribute)
boolean getIgnoreComments()
boolean getIgnoreWhitespace()
boolean getIgnoreProcessingInstructions()
void setIgnoreComments(boolean ignore)
void setIgnoreWhitespace(boolean ignore)
void setIgnoreProcessingInstructions(boolean ignore)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |