public final class TagnameFilter extends NodeListFilter
| Constructor and Description |
|---|
TagnameFilter()
Default constructor for TagnameFilter.
|
TagnameFilter(int eTag)
Constructor for TagnameFilter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Node node)
The accept method defines a set of criteria that each node must pass if
it is to be accepted by this filter.
|
void |
setTagname(int eTag)
Set the tag to look for when filtering nodes.
|
checkChildren, checkFinished, filterNodes, filterNodes, filterNodes, initpublic TagnameFilter()
setTagname(int)public TagnameFilter(int eTag)
eTag - Note that the tag provided must be one of the tags
contained in the XFA namespace. e.g.
XFA.FIELDTAGpublic boolean accept(Node node)
accept in class NodeListFilternode - the node to test for inclusiontrue if the node is to be included. The default implementation
always returns true.public void setTagname(int eTag)
eTag - Note that the tag provided must be one of the tags
contained in the XFA namespace. e.g.
XFA.FIELDTAGCopyright © 2010 - 2020 Adobe. All Rights Reserved