Class TransformSpi
- java.lang.Object
-
- org.apache.xml.security.transforms.TransformSpi
-
public abstract class TransformSpi extends java.lang.ObjectBase class which all Transform algorithms extend. The common methods that have to be overridden are theenginePerformTransform(XMLSignatureInput)method.- Author:
- Christian Geuer-Pollmann
-
-
Field Summary
Fields Modifier and Type Field Description protected Transform_transformObject
-
Constructor Summary
Constructors Constructor Description TransformSpi()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.StringengineGetURI()Returns the URI representation ofTransformation algorithmprotected abstract XMLSignatureInputenginePerformTransform(XMLSignatureInput input)The mega method which MUST be implemented by the Transformation Algorithm.protected XMLSignatureInputenginePerformTransform(XMLSignatureInput input, java.io.OutputStream os)The mega method which MUST be implemented by the Transformation Algorithm.protected voidsetTransform(Transform transform)
-
-
-
Field Detail
-
_transformObject
protected Transform _transformObject
-
-
Method Detail
-
setTransform
protected void setTransform(Transform transform)
-
enginePerformTransform
protected XMLSignatureInput enginePerformTransform(XMLSignatureInput input, java.io.OutputStream os) throws java.io.IOException, CanonicalizationException, InvalidCanonicalizerException, TransformationException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
The mega method which MUST be implemented by the Transformation Algorithm.- Parameters:
input-XMLSignatureInputas the input of transformationos- where to output this transformation.- Returns:
XMLSignatureInputas the result of transformation- Throws:
CanonicalizationExceptionjava.io.IOExceptionInvalidCanonicalizerExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionTransformationException
-
enginePerformTransform
protected abstract XMLSignatureInput enginePerformTransform(XMLSignatureInput input) throws java.io.IOException, CanonicalizationException, InvalidCanonicalizerException, TransformationException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
The mega method which MUST be implemented by the Transformation Algorithm.- Parameters:
input-XMLSignatureInputas the input of transformation- Returns:
XMLSignatureInputas the result of transformation- Throws:
CanonicalizationExceptionjava.io.IOExceptionInvalidCanonicalizerExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionTransformationException
-
engineGetURI
protected abstract java.lang.String engineGetURI()
Returns the URI representation ofTransformation algorithm- Returns:
- the URI representation of
Transformation algorithm
-
-