|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.abdera.util.filter.AbstractParseFilter
org.apache.abdera.util.filter.AbstractListParseFilter
public abstract class AbstractListParseFilter
ParseFilter's determine which elements and attributes are acceptable within a parsed document. They are set via the ParserOptions.setParseFilter method.
Field Summary |
---|
Fields inherited from class org.apache.abdera.util.filter.AbstractParseFilter |
---|
flags |
Constructor Summary | |
---|---|
AbstractListParseFilter()
|
Method Summary | |
---|---|
abstract boolean |
acceptable(QName qname)
Returns true if elements with the given QName are acceptable |
abstract boolean |
acceptable(QName qname,
QName attribute)
Returns true if attributes with the given qname appearing on elements with the given qname are acceptable |
ListParseFilter |
add(QName qname)
Add an element QName to the parse filter |
ListParseFilter |
add(QName parent,
QName attribute)
Adds an attribute to the parse filter |
Object |
clone()
Clone this ParseFilter |
boolean |
contains(QName qname)
Returns true if the given qname has been added to the filter |
boolean |
contains(QName qname,
QName attribute)
Returns true if the given attribute has been added to the filter |
Methods inherited from class org.apache.abdera.util.filter.AbstractParseFilter |
---|
getIgnoreComments, getIgnoreProcessingInstructions, getIgnoreWhitespace, setIgnoreComments, setIgnoreProcessingInstructions, setIgnoreWhitespace |
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 |
---|
getIgnoreComments, getIgnoreProcessingInstructions, getIgnoreWhitespace, setIgnoreComments, setIgnoreProcessingInstructions, setIgnoreWhitespace |
Constructor Detail |
---|
public AbstractListParseFilter()
Method Detail |
---|
public Object clone() throws CloneNotSupportedException
ParseFilter
clone
in interface ParseFilter
clone
in class AbstractParseFilter
CloneNotSupportedException
public ListParseFilter add(QName qname)
ListParseFilter
add
in interface ListParseFilter
public boolean contains(QName qname)
ListParseFilter
contains
in interface ListParseFilter
public ListParseFilter add(QName parent, QName attribute)
ListParseFilter
add
in interface ListParseFilter
public boolean contains(QName qname, QName attribute)
ListParseFilter
contains
in interface ListParseFilter
public abstract boolean acceptable(QName qname)
ParseFilter
acceptable
in interface ParseFilter
public abstract boolean acceptable(QName qname, QName attribute)
ParseFilter
acceptable
in interface ParseFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |