org.apache.abdera.util.filter
Class AbstractParseFilter

java.lang.Object
  extended by org.apache.abdera.util.filter.AbstractParseFilter
All Implemented Interfaces:
Serializable, Cloneable, ParseFilter
Direct Known Subclasses:
AbstractListParseFilter, CompoundParseFilter, NonOpParseFilter, SafeContentWhiteListParseFilter

public abstract class AbstractParseFilter
extends Object
implements ParseFilter

See Also:
Serialized Form

Field Summary
protected  byte flags
           
 
Constructor Summary
AbstractParseFilter()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.abdera.filter.ParseFilter
acceptable, acceptable
 

Field Detail

flags

protected byte flags
Constructor Detail

AbstractParseFilter

public AbstractParseFilter()
Method Detail

setIgnoreComments

public ParseFilter setIgnoreComments(boolean ignore)
Description copied from interface: ParseFilter
True if the parser should ignore comments

Specified by:
setIgnoreComments in interface ParseFilter

setIgnoreWhitespace

public ParseFilter setIgnoreWhitespace(boolean ignore)
Description copied from interface: ParseFilter
True if the parser should ignore insignificant whitespace

Specified by:
setIgnoreWhitespace in interface ParseFilter

setIgnoreProcessingInstructions

public ParseFilter setIgnoreProcessingInstructions(boolean ignore)
Description copied from interface: ParseFilter
True if the parser should ignore processing instructions

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 Object clone()
             throws CloneNotSupportedException
Description copied from interface: ParseFilter
Clone this ParseFilter

Specified by:
clone in interface ParseFilter
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.