Class XPath2NodeFilter
java.lang.Object
org.apache.xml.security.transforms.implementations.XPath2NodeFilter
- All Implemented Interfaces:
NodeFilter
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) boolean(package private) boolean(package private) int(package private) int(package private) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static booleanMethod rootedintisNodeInclude(Node currentNode) Tells if a node must be output in c14n.intisNodeIncludeDO(Node n, int level) Tells if a node must be output in a c14n.(package private) static booleanMethod rooted
-
Field Details
-
hasUnionFilter
boolean hasUnionFilter -
hasSubtractFilter
boolean hasSubtractFilter -
hasIntersectFilter
boolean hasIntersectFilter -
unionNodes
-
subtractNodes
-
intersectNodes
-
inSubtract
int inSubtract -
inIntersect
int inIntersect -
inUnion
int inUnion
-
-
Constructor Details
-
XPath2NodeFilter
-
-
Method Details
-
isNodeInclude
Description copied from interface:NodeFilterTells if a node must be output in c14n.- Specified by:
isNodeIncludein interfaceNodeFilter- Parameters:
currentNode-- Returns:
- 1 if the node should be output. 0 if node must not be output, -1 if the node and all it's child must not be output.
- See Also:
-
isNodeIncludeDO
Description copied from interface:NodeFilterTells if a node must be output in a c14n. The caller must assured that this method is always call in document order. The implementations can use this restriction to optimize the transformation.- Specified by:
isNodeIncludeDOin interfaceNodeFilter- Parameters:
n-level- the relative level in the tree- Returns:
- 1 if the node should be output. 0 if node must not be output, -1 if the node and all it's child must not be output.
-
rooted
-
inList
-
convertNodeListToSet
-