public class EnvelopedSigTransform extends XSTransformer implements NodeFilterTransform
transformNO_TO_SELF, NO_TO_SELF_AND_DESCENDANTS, YES_TO_SELF, YES_TO_SELF_AND_DESCENDANTS| Constructor and Description |
|---|
EnvelopedSigTransform(XSAlgorithmIdentifier trans)
Creates a new
EnvelopedSigTransform instance. |
| Modifier and Type | Method and Description |
|---|---|
int |
accept(org.w3c.dom.Node node)
return YES_TO_SELF, NO_TO_SELF, YES_TO_SELF_AND_DESCENDANTS or YES_TO_SELF_AND_DESCENDANTS depending on whether the node is filtered out
|
java.lang.String |
getAlgorithmURI()
Returns the URI string identifying the Transform algorithm.
|
XMLContainer |
transform(XMLContainer source)
Applies the Enveloped Signature transformation to the given
XMLContainer and returns the node list result in a new XMLContainer. |
applyTransforms, getInstance, getInstance, getTransformpublic EnvelopedSigTransform(XSAlgorithmIdentifier trans)
EnvelopedSigTransform instance.trans - A XSAlgorithmIdentifier object containing no parameters.java.lang.IllegalArgumentException - If the XSAlgorithmIdentifier is not a valid Enveloped Signature Transform.public java.lang.String getAlgorithmURI()
XSTransformergetAlgorithmURI in class XSTransformerpublic XMLContainer transform(XMLContainer source) throws TransformationException
XMLContainer and returns the node list result in a new XMLContainer.transform in class XSTransformersource - A XMLContainer on which the transform will operate.XMLContainer containing the transform node list result.TransformationException - if an error occurs during the transformation process.public int accept(org.w3c.dom.Node node)
throws TransformationException
NodeFilterTransformaccept in interface NodeFilterTransformTransformationException