public class C14NTransform extends XSTransformer implements NodeToStreamTransform
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
C14NTransform.C14N11Transform  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Canonicalizer | 
c14n  | 
transform| Constructor and Description | 
|---|
C14NTransform()
Creates a new  
C14NTransform instance. | 
C14NTransform(XSAlgorithmIdentifier trans)
Creates a new  
C14NTransform instance. | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getAlgorithmURI()
Returns the URI string identifying the Transform algorithm. 
 | 
XMLContainer | 
transform(XMLContainer source)
Applies the Canonical XML transformation to the given  
XMLContainer and returns the octet stream result a new XMLContainer. | 
java.io.InputStream | 
transformToStream(NodeReader source)
transform method that does not actually do the transform, but only sets up things. 
 | 
applyTransforms, getInstance, getInstance, getTransformprotected Canonicalizer c14n
public C14NTransform()
C14NTransform instance.public C14NTransform(XSAlgorithmIdentifier trans)
C14NTransform instance.trans - A XSAlgorithmIdentifier object containing no parameter element.java.lang.IllegalArgumentException - If the XSAlgorithmIdentifier is not a valid XML-C14N Transform.public java.lang.String getAlgorithmURI()
XSTransformergetAlgorithmURI in class XSTransformerpublic XMLContainer transform(XMLContainer source) throws TransformationException
XMLContainer and returns the octet stream result a new XMLContainer.transform in class XSTransformersource - A XMLContainer on which the transform will operate.XMLContainer containing the transform octet stream result.TransformationException - if an error occurs during the transformation process.public java.io.InputStream transformToStream(NodeReader source) throws TransformationException
NodeToStreamTransformtransformToStream in interface NodeToStreamTransformTransformationException