public class WhiteListParseFilter extends AbstractListParseFilter
| Constructor and Description |
|---|
WhiteListParseFilter() |
WhiteListParseFilter(boolean listAttributesExplicitly)
If listAttributesExplicity == true, attributes MUST be whitelisted
independently of the elements on which they appear, otherwise,
all attributes will automatically be considered acceptable if
the containing element is considered acceptable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptable(javax.xml.namespace.QName qname)
Returns true if elements with the given QName are acceptable
|
boolean |
acceptable(javax.xml.namespace.QName qname,
javax.xml.namespace.QName attribute)
Returns true if attributes with the given qname appearing on elements
with the given qname are acceptable
|
add, add, clone, contains, containsgetIgnoreComments, getIgnoreProcessingInstructions, getIgnoreWhitespace, setIgnoreComments, setIgnoreProcessingInstructions, setIgnoreWhitespaceequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIgnoreComments, getIgnoreProcessingInstructions, getIgnoreWhitespace, setIgnoreComments, setIgnoreProcessingInstructions, setIgnoreWhitespacepublic WhiteListParseFilter()
public WhiteListParseFilter(boolean listAttributesExplicitly)
public boolean acceptable(javax.xml.namespace.QName qname)
ParseFilteracceptable in interface ParseFilteracceptable in class AbstractListParseFilterpublic boolean acceptable(javax.xml.namespace.QName qname,
javax.xml.namespace.QName attribute)
ParseFilteracceptable in interface ParseFilteracceptable in class AbstractListParseFilterCopyright © 2010 - 2020 Adobe. All Rights Reserved