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, getTransform
public StreamingSTRTransform(XSAlgorithmIdentifier trans)
STRTransform
instance.trans
- The tranformation parameters.public java.lang.String getAlgorithmURI()
getAlgorithmURI
in class XSTransformer
XSTransformer.getAlgorithmURI()
public java.lang.String getCanonicalizationMethod()
public XMLContainer transform(XMLContainer source) throws TransformationException
XSTransformer
XMLContainer
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 XSTransformer
source
- 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
TransformationException
public java.io.InputStream transformToStream(NodeReader source) throws TransformationException
NodeToStreamTransform
transformToStream
in interface NodeToStreamTransform
TransformationException