public class XSLTTransform extends XSTransformer
transform| Constructor and Description | 
|---|
XSLTTransform(XSAlgorithmIdentifier trans)
Creates a new  
XSLTTransform instance. | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
applyXSLT(java.io.InputStream source)
Applies the transform's XSLT stylesheet to the given XML source and returns the resulting octets. 
 | 
java.lang.String | 
getAlgorithmURI()
Returns the URI string identifying the Transform algorithm. 
 | 
XMLContainer | 
transform(XMLContainer source)
Applies a XSLT stylesheet transformation to the given  
XMLContainer and returns the octet stream result in a new XMLContainer. | 
applyTransforms, getInstance, getInstance, getTransformpublic XSLTTransform(XSAlgorithmIdentifier trans)
XSLTTransform instance.trans - A XSAlgorithmIdentifier object containing exactly one stylesheet element parameter.java.lang.IllegalArgumentException - If the XSAlgorithmIdentifier is not a valid XSLT Transform.
public byte[] applyXSLT(java.io.InputStream source)
                 throws javax.xml.transform.TransformerException
source - An InputStream containing the octets of the XML to be transformed.javax.xml.transform.TransformerException - If an error occurs while performing the XSLT transformation.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.