Top Description Fields Constructors Methods
org.jcp.xml.dsig.internal.dom

public final Class DOMXPathTransform

extends ApacheTransform
Class Inheritance
Imports
java.security.InvalidAlgorithmParameterException, java.util.HashMap, .Map, .Set, javax.xml.crypto.MarshalException, .XMLCryptoContext, .XMLStructure, javax.xml.crypto.dsig.XMLSignature, javax.xml.crypto.dsig.spec.TransformParameterSpec, .XPathFilterParameterSpec, org.w3c.dom.Attr, .Element, .NamedNodeMap

DOM-based implementation of XPath Filtering Transform. (Uses Apache XML-Sec Transform implementation)

Field Summary

Inherited from org.jcp.xml.dsig.internal.dom.ApacheTransform:
ownerDocparamstransformElem

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
init(TransformParameterSpec
the algorithm parameters (may be null if not required or optional)
params
)

Implements abstract javax.xml.crypto.dsig.TransformService.init.

Initializes this TransformService with the specified parameters.
public void
init(XMLStructure
a mechanism-specific structure containing the parent structure
parent
,
XMLCryptoContext
the XMLCryptoContext containing additional context (may be null if not applicable)
context
)

Overrides org.jcp.xml.dsig.internal.dom.ApacheTransform.init.

Initializes this TransformService with the specified parameters and document context.
public void
marshalParams(XMLStructure
a mechanism-specific structure containing the parent node that the marshalled parameters should be appended to
parent
,
XMLCryptoContext
the XMLCryptoContext containing additional context (may be null if not applicable)
context
)

Overrides org.jcp.xml.dsig.internal.dom.ApacheTransform.marshalParams.

Marshals the algorithm-specific parameters.
private void
Inherited from org.jcp.xml.dsig.internal.dom.ApacheTransform:
getParameterSpecisFeatureSupportedtransformtransform

Constructor Detail

DOMXPathTransformback to summary
public DOMXPathTransform()

Method Detail

initback to summary
public void init(TransformParameterSpec params) throws InvalidAlgorithmParameterException

Implements abstract javax.xml.crypto.dsig.TransformService.init.

Doc from javax.xml.crypto.dsig.TransformService.init.

Initializes this TransformService with the specified parameters.

If the parameters exist in XML form, the init(XMLStructure, XMLCryptoContext) method should be used to initialize the TransformService.

Parameters
params:TransformParameterSpec

the algorithm parameters (may be null if not required or optional)

Annotations
@Override
Exceptions
InvalidAlgorithmParameterException:
if the specified parameters are invalid for this algorithm
initback to summary
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException

Overrides org.jcp.xml.dsig.internal.dom.ApacheTransform.init.

Doc from javax.xml.crypto.dsig.TransformService.init.

Initializes this TransformService with the specified parameters and document context.

Parameters
parent:XMLStructure

a mechanism-specific structure containing the parent structure

context:XMLCryptoContext

the XMLCryptoContext containing additional context (may be null if not applicable)

Annotations
@Override
Exceptions
InvalidAlgorithmParameterException:
if the specified parameters are invalid for this algorithm
marshalParamsback to summary
public void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException

Overrides org.jcp.xml.dsig.internal.dom.ApacheTransform.marshalParams.

Doc from javax.xml.crypto.dsig.TransformService.marshalParams.

Marshals the algorithm-specific parameters. If there are no parameters to be marshalled, this method returns without throwing an exception.

Parameters
parent:XMLStructure

a mechanism-specific structure containing the parent node that the marshalled parameters should be appended to

context:XMLCryptoContext

the XMLCryptoContext containing additional context (may be null if not applicable)

Annotations
@Override
Exceptions
MarshalException:
if the parameters cannot be marshalled
unmarshalParamsback to summary
private void unmarshalParams(Element paramsElem)