Class TransformEnvelopedSignature.EnvelopedNodeFilter
- java.lang.Object
-
- org.apache.xml.security.transforms.implementations.TransformEnvelopedSignature.EnvelopedNodeFilter
-
- All Implemented Interfaces:
NodeFilter
- Enclosing class:
- TransformEnvelopedSignature
static class TransformEnvelopedSignature.EnvelopedNodeFilter extends java.lang.Object implements NodeFilter
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.w3c.dom.Node
exclude
-
Constructor Summary
Constructors Constructor Description EnvelopedNodeFilter(org.w3c.dom.Node n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
isNodeInclude(org.w3c.dom.Node n)
Tells if a node must be output in c14n.int
isNodeIncludeDO(org.w3c.dom.Node n, int level)
Tells if a node must be output in a c14n.
-
-
-
Method Detail
-
isNodeIncludeDO
public int isNodeIncludeDO(org.w3c.dom.Node n, int level)
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
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
public int isNodeInclude(org.w3c.dom.Node n)
Description copied from interface:NodeFilter
Tells if a node must be output in c14n.- Specified by:
isNodeInclude
in interfaceNodeFilter
- 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:
NodeFilter.isNodeInclude(org.w3c.dom.Node)
-
-