|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.security.transforms.TransformSpi
Base class which all Transform algorithms extend. The common methods that
have to be overridden are the enginePerformTransform(org.apache.xml.security.signature.XMLSignatureInput)
method.
Field Summary | |
protected Transform |
_transformObject
|
Constructor Summary | |
TransformSpi()
|
Method Summary | |
protected abstract java.lang.String |
engineGetURI()
Returns the URI representation of Transformation algorithm |
protected abstract XMLSignatureInput |
enginePerformTransform(XMLSignatureInput input)
The mega method which MUST be implemented by the Transformation Algorithm. |
abstract boolean |
returnsNodeSet()
Tests whether Transform implemenation class will generate Node Set as output of result of Transformation |
abstract boolean |
returnsOctetStream()
Tests whether Transform implemenation class will generate Octect Stream as output of result of Transformation |
protected void |
setTransform(Transform transform)
|
abstract boolean |
wantsNodeSet()
Tests whether Transform implemenation class is need Octect Stream as input of Transformation |
abstract boolean |
wantsOctetStream()
Tests whether Transform implemenation class is need Octect Stream as input of Transformation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Transform _transformObject
Constructor Detail |
public TransformSpi()
Method Detail |
protected void setTransform(Transform transform)
public abstract boolean wantsOctetStream()
public abstract boolean wantsNodeSet()
public abstract boolean returnsOctetStream()
public abstract boolean returnsNodeSet()
protected abstract XMLSignatureInput enginePerformTransform(XMLSignatureInput input) throws java.io.IOException, CanonicalizationException, InvalidCanonicalizerException, TransformationException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
input
- XMLSignatureInput
as the input of transformation
XMLSignatureInput
as the result of transformation
CanonicalizationException
java.io.IOException
InvalidCanonicalizerException
NotYetImplementedException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
TransformationException
protected abstract java.lang.String engineGetURI()
Transformation algorithm
Transformation algorithm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |