public class Base64Decoder extends XSTransformer implements NodeToStreamTransform
transform| Constructor and Description |
|---|
Base64Decoder()
Creates a new
Base64Decoder instance. |
Base64Decoder(XSAlgorithmIdentifier trans)
Creates a new
Base64Decoder instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithmURI()
Returns the URI string identifying the Transform algorithm.
|
XMLContainer |
transform(XMLContainer source)
Applies a Base64 decoding transformation to the given
XMLContainer and returns the octet stream result in 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, getTransformpublic Base64Decoder()
Base64Decoder instance.public Base64Decoder(XSAlgorithmIdentifier trans)
Base64Decoder instance.trans - A XSAlgorithmIdentifier object containing no parameter element.java.lang.IllegalArgumentException - If the XSAlgorithmIdentifier is not a valid Base64 decode Transform.public java.lang.String getAlgorithmURI()
XSTransformergetAlgorithmURI in class XSTransformerpublic XMLContainer transform(XMLContainer source) throws TransformationException
XMLContainer and returns the octet stream result in 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 java.io.IOException, TransformationException
NodeToStreamTransformtransformToStream in interface NodeToStreamTransformjava.io.IOExceptionTransformationException