FileDocCategorySizeDatePackage
TransformSpi.javaAPI DocJava SE 6 API3531Tue Jun 10 00:23:04 BST 2008com.sun.org.apache.xml.internal.security.transforms

TransformSpi

public abstract class TransformSpi extends Object
Base class which all Transform algorithms extend. The common methods that have to be overridden are the {@link #enginePerformTransform(XMLSignatureInput)} method.
author
Christian Geuer-Pollmann

Fields Summary
static Logger
log
{@link java.util.logging} logging facility
protected Transform
_transformObject
Constructors Summary
Methods Summary
protected abstract java.lang.StringengineGetURI()
Returns the URI representation of Transformation algorithm

return
the URI representation of Transformation algorithm

protected com.sun.org.apache.xml.internal.security.signature.XMLSignatureInputenginePerformTransform(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput input, java.io.OutputStream os)
The mega method which MUST be implemented by the Transformation Algorithm.

param
input {@link XMLSignatureInput} as the input of transformation
param
os where to output this transformation.
return
{@link XMLSignatureInput} as the result of transformation
throws
CanonicalizationException
throws
IOException
throws
InvalidCanonicalizerException
throws
ParserConfigurationException
throws
SAXException
throws
TransformationException

   	    return enginePerformTransform(input);
   
protected abstract com.sun.org.apache.xml.internal.security.signature.XMLSignatureInputenginePerformTransform(com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput input)
The mega method which MUST be implemented by the Transformation Algorithm.

param
input {@link XMLSignatureInput} as the input of transformation
return
{@link XMLSignatureInput} as the result of transformation
throws
CanonicalizationException
throws
IOException
throws
InvalidCanonicalizerException
throws
ParserConfigurationException
throws
SAXException
throws
TransformationException

protected voidsetTransform(com.sun.org.apache.xml.internal.security.transforms.Transform transform)

       
      this._transformObject = transform;