public class StreamingSTRTransform extends XSTransformer implements NodeToStreamTransform
| Modifier and Type | Class and Description |
|---|---|
class |
StreamingSTRTransform.STRNodeReader |
transform| Constructor and Description |
|---|
StreamingSTRTransform(XSAlgorithmIdentifier trans)
Create a new
STRTransform instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithmURI()
Get the transformation algorithm URI.
|
java.lang.String |
getCanonicalizationMethod()
Get the transformation algorithm.
|
XMLContainer |
transform(XMLContainer source)
Applies the transform to the given
XMLContainer and returns the result in a new XMLContainer. |
XMLContainer |
transform(XMLContainer source, java.util.Map STRToST) |
java.io.InputStream |
transformToStream(NodeReader source)
transform method that does not actually do the transform, but only sets up things.
|
applyTransforms, getInstance, getInstance, getTransformpublic StreamingSTRTransform(XSAlgorithmIdentifier trans)
STRTransform instance.trans - The tranformation parameters.public java.lang.String getAlgorithmURI()
getAlgorithmURI in class XSTransformerXSTransformer.getAlgorithmURI()public java.lang.String getCanonicalizationMethod()
public XMLContainer transform(XMLContainer source) throws TransformationException
XSTransformerXMLContainer and returns the result in a new XMLContainer.
Implementing subclasses are responsible for ensuring that the given XMLContainer contains the input required, and for any needed conversions if it does not.
transform in class XSTransformersource - A XMLContainer on which the transform will operate.XMLContainer containing the transform result.TransformationException - if an error occurs during the transformation process.public XMLContainer transform(XMLContainer source, java.util.Map STRToST) throws TransformationException
TransformationExceptionpublic java.io.InputStream transformToStream(NodeReader source) throws TransformationException
NodeToStreamTransformtransformToStream in interface NodeToStreamTransformTransformationException