Package org.apache.abdera.filter
Interface ParseFilter
- All Superinterfaces:
Cloneable,Serializable
- All Known Subinterfaces:
ListParseFilter
Deprecated.
This API is deprecated as Apache Abdera is a retired project since 2017.
ParseFilter's determine which elements and attributes are acceptable within a parsed document. They are set via the
ParserOptions.setParseFilter method.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptable(QName qname) Deprecated.Returns true if elements with the given QName are acceptablebooleanacceptable(QName qname, QName attribute) Deprecated.Returns true if attributes with the given qname appearing on elements with the given qname are acceptableclone()Deprecated.Clone this ParseFilterbooleanDeprecated.Return true if the parser should ignore commentsbooleanDeprecated.Return true if the parser should ignore processing instructionsbooleanDeprecated.Return true if the parser should ignore insignificant whitespacesetIgnoreComments(boolean ignore) Deprecated.True if the parser should ignore commentssetIgnoreProcessingInstructions(boolean ignore) Deprecated.True if the parser should ignore processing instructionssetIgnoreWhitespace(boolean ignore) Deprecated.True if the parser should ignore insignificant whitespace
-
Method Details
-
clone
Deprecated.Clone this ParseFilter- Throws:
CloneNotSupportedException
-
acceptable
Deprecated.Returns true if elements with the given QName are acceptable -
acceptable
Deprecated.Returns true if attributes with the given qname appearing on elements with the given qname are acceptable -
getIgnoreComments
boolean getIgnoreComments()Deprecated.Return true if the parser should ignore comments -
getIgnoreWhitespace
boolean getIgnoreWhitespace()Deprecated.Return true if the parser should ignore insignificant whitespace -
getIgnoreProcessingInstructions
boolean getIgnoreProcessingInstructions()Deprecated.Return true if the parser should ignore processing instructions -
setIgnoreComments
Deprecated.True if the parser should ignore comments -
setIgnoreWhitespace
Deprecated.True if the parser should ignore insignificant whitespace -
setIgnoreProcessingInstructions
Deprecated.True if the parser should ignore processing instructions
-