org.apache.abdera.util.filter
Class AbstractParseFilter
java.lang.Object
org.apache.abdera.util.filter.AbstractParseFilter
- All Implemented Interfaces:
- java.lang.Cloneable, ParseFilter
- Direct Known Subclasses:
- AbstractListParseFilter, CompoundParseFilter, NonOpParseFilter, SafeContentWhiteListParseFilter
public abstract class AbstractParseFilter
- extends java.lang.Object
- implements ParseFilter
Field Summary |
protected byte |
flags
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
flags
protected byte flags
AbstractParseFilter
public AbstractParseFilter()
setIgnoreComments
public void setIgnoreComments(boolean ignore)
- Description copied from interface:
ParseFilter
- Return true if the parser should ignore comments
- Specified by:
setIgnoreComments
in interface ParseFilter
setIgnoreWhitespace
public void setIgnoreWhitespace(boolean ignore)
- Description copied from interface:
ParseFilter
- Return true if the parser should ignore insignificant whitespace
- Specified by:
setIgnoreWhitespace
in interface ParseFilter
setIgnoreProcessingInstructions
public void setIgnoreProcessingInstructions(boolean ignore)
- Specified by:
setIgnoreProcessingInstructions
in interface ParseFilter
getIgnoreComments
public boolean getIgnoreComments()
- Description copied from interface:
ParseFilter
- Return true if the parser should ignore comments
- Specified by:
getIgnoreComments
in interface ParseFilter
getIgnoreProcessingInstructions
public boolean getIgnoreProcessingInstructions()
- Description copied from interface:
ParseFilter
- Return true if the parser should ignore processing instructions
- Specified by:
getIgnoreProcessingInstructions
in interface ParseFilter
getIgnoreWhitespace
public boolean getIgnoreWhitespace()
- Description copied from interface:
ParseFilter
- Return true if the parser should ignore insignificant whitespace
- Specified by:
getIgnoreWhitespace
in interface ParseFilter
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface ParseFilter
- Overrides:
clone
in class java.lang.Object
- Throws:
java.lang.CloneNotSupportedException