public interface Transformer
A Transform algorithm has a single implicit parameter:
an octet stream from the Reference or the output of an earlier
Transform.
Implementations of this class works together with
. Necessary convertions are mostly done
on TransformEngineTransformEngine and implementations just declares which
s they accept and return.DataType
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsAlgorithm(java.lang.String aAlgorithmURI)
Is transformer responsible for the algorithm given as parameter?
|
java.util.List<DataType> |
expectedDataTypes() |
DataType |
returnType() |
java.lang.Object |
transform(java.lang.Object aObject,
java.lang.String aAlgorithmURI,
java.lang.Object[] aParams,
org.w3c.dom.Element aTransformElement,
java.lang.String aBaseURI)
Make the appropriate transform defined by algorithm according to
parameters
link{NodeList} |
java.util.List<DataType> expectedDataTypes()
DataType returnType()
boolean acceptsAlgorithm(java.lang.String aAlgorithmURI)
aAlgorithmURI - algorithm URI declared in XMLdSig specjava.lang.Object transform(java.lang.Object aObject,
java.lang.String aAlgorithmURI,
java.lang.Object[] aParams,
org.w3c.dom.Element aTransformElement,
java.lang.String aBaseURI)
throws XMLSignatureException
link{NodeList}aObject - object to be transformed, should be either
@link{NodeList} or @link{InputStream}
according to return type of expectedDataTypesaAlgorithmURI - algorithm defined b XMLdSig sprecaParams - algorithm parameters if anyaTransformElement - xml element where transform is declaredaBaseURI - where to find relative resoursesDataType
declared by returnType()XMLSignatureException - if any problem occursCopyright © 2025. All rights reserved.