org.apache.abdera.util.filter
Class SafeContentWhiteListParseFilter
java.lang.Object
org.apache.abdera.util.filter.AbstractParseFilter
org.apache.abdera.util.filter.SafeContentWhiteListParseFilter
- All Implemented Interfaces:
- Serializable, Cloneable, ParseFilter
public class SafeContentWhiteListParseFilter
- extends AbstractParseFilter
- implements ParseFilter
- See Also:
- Serialized Form
Method Summary |
boolean |
acceptable(QName qname)
Returns true if elements with the given QName are acceptable |
boolean |
acceptable(QName qname,
QName attribute)
Returns true if attributes with the given qname appearing on elements with the given qname are acceptable |
Object |
clone()
Clone this ParseFilter |
SafeContentWhiteListParseFilter
public SafeContentWhiteListParseFilter()
acceptable
public boolean acceptable(QName qname)
- Description copied from interface:
ParseFilter
- Returns true if elements with the given QName are acceptable
- Specified by:
acceptable
in interface ParseFilter
acceptable
public boolean acceptable(QName qname,
QName attribute)
- Description copied from interface:
ParseFilter
- Returns true if attributes with the given qname appearing on elements with the given qname are acceptable
- Specified by:
acceptable
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 AbstractParseFilter
- Throws:
CloneNotSupportedException
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.