APIdia Launch Partner
Top Description Constructors Methods
com.sun.org.apache.xml.internal.security.transforms

public abstract Class TransformSpi

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.org.apache.xml.internal.security.transforms.implementations.TransformBase64Decode, com.sun.org.apache.xml.internal.security.transforms.implementations.TransformC14N, com.sun.org.apache.xml.internal.security.transforms.implementations.TransformC14NExclusive, com.sun.org.apache.xml.internal.security.transforms.implementations.TransformEnvelopedSignature, com.sun.org.apache.xml.internal.security.transforms.implementations.TransformXPath, com.sun.org.apache.xml.internal.security.transforms.implementations.TransformXPath2Filter, com.sun.org.apache.xml.internal.security.transforms.implementations.TransformXSLT
Imports
java.io.IOException, .OutputStream, javax.xml.parsers.ParserConfigurationException, com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException, .InvalidCanonicalizerException, com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput, org.w3c.dom.Element, org.xml.sax.SAXException

Base class which all Transform algorithms extend. The common methods that have to be overridden are the enginePerformTransform(XMLSignatureInput, OutputStream, Element, String, boolean) method. Extensions of this class must be thread-safe.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract String

Returns:

the URI representation of Transformation algorithm
engineGetURI
()

Returns the URI representation of Transformation algorithm

protected abstract XMLSignatureInput

Returns:

XMLSignatureInput as the result of transformation
enginePerformTransform
(XMLSignatureInput
XMLSignatureInput as the input of transformation
input
,
OutputStream
where to output this transformation.
os
,
Element
the Transform element
transformElement
,
String
The baseURI
baseURI
,
boolean
Whether secure validation is enabled
secureValidation
)

The mega method which MUST be implemented by the Transformation Algorithm.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TransformSpiback to summary
public TransformSpi()

Method Detail

engineGetURIback to summary
protected abstract String engineGetURI()

Returns the URI representation of Transformation algorithm

Returns:String

the URI representation of Transformation algorithm

enginePerformTransformback to summary
protected abstract XMLSignatureInput enginePerformTransform(XMLSignatureInput input, OutputStream os, Element transformElement, String baseURI, boolean secureValidation) throws IOException, CanonicalizationException, InvalidCanonicalizerException, TransformationException, ParserConfigurationException, SAXException

The mega method which MUST be implemented by the Transformation Algorithm.

Parameters
input:XMLSignatureInput

XMLSignatureInput as the input of transformation

os:OutputStream

where to output this transformation.

transformElement:Element

the Transform element

baseURI:String

The baseURI

secureValidation:boolean

Whether secure validation is enabled

Returns:XMLSignatureInput

XMLSignatureInput as the result of transformation