Class TransformEnvelopedSignature.EnvelopedNodeFilter
java.lang.Object
org.apache.xml.security.transforms.implementations.TransformEnvelopedSignature.EnvelopedNodeFilter
- All Implemented Interfaces:
NodeFilter
- Enclosing class:
TransformEnvelopedSignature
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Tells if a node must be output in c14n.int
isNodeIncludeDO
(Node n, int level) Tells if a node must be output in a c14n.
-
Field Details
-
exclude
Node exclude
-
-
Constructor Details
-
EnvelopedNodeFilter
EnvelopedNodeFilter(Node n)
-
-
Method Details
-
isNodeIncludeDO
Description copied from interface:NodeFilter
Tells 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:
isNodeIncludeDO
in 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.
-
isNodeInclude
Description copied from interface:NodeFilter
Tells if a node must be output in c14n.- Specified by:
isNodeInclude
in interfaceNodeFilter
- Parameters:
n
-- 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:
-