Package com.adobe.xfa
Class TagnameFilter
java.lang.Object
com.adobe.xfa.NodeListFilter
com.adobe.xfa.TagnameFilter
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for TagnameFilter.TagnameFilter(int eTag) Constructor for TagnameFilter. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe accept method defines a set of criteria that each node must pass if it is to be accepted by this filter.voidsetTagname(int eTag) Set the tag to look for when filtering nodes.Methods inherited from class com.adobe.xfa.NodeListFilter
checkChildren, checkFinished, filterNodes, filterNodes, filterNodes, init
-
Constructor Details
-
TagnameFilter
public TagnameFilter()Default constructor for TagnameFilter. When this constructor is used, the tag should be set before using this filter.- See Also:
-
TagnameFilter
public TagnameFilter(int eTag) Constructor for TagnameFilter.- Parameters:
eTag- Note that the tag provided must be one of the tags contained in the XFA namespace. e.g.XFA.FIELDTAG
-
-
Method Details
-
accept
The accept method defines a set of criteria that each node must pass if it is to be accepted by this filter.- Overrides:
acceptin classNodeListFilter- Parameters:
node- the node to test for inclusion- Returns:
trueif the node is to be included. The default implementation always returnstrue.
-
setTagname
public void setTagname(int eTag) Set the tag to look for when filtering nodes.- Parameters:
eTag- Note that the tag provided must be one of the tags contained in the XFA namespace. e.g.XFA.FIELDTAG
-