org.apache.jcp.xml.dsig.internal.dom
Class DOMXPathFilter2Transform
java.lang.Object
javax.xml.crypto.dsig.TransformService
org.apache.jcp.xml.dsig.internal.dom.ApacheTransform
org.apache.jcp.xml.dsig.internal.dom.DOMXPathFilter2Transform
- All Implemented Interfaces:
- AlgorithmMethod, Transform, XMLStructure
public final class DOMXPathFilter2Transform
- extends ApacheTransform
DOM-based implementation of XPath Filter 2.0 Transform.
(Uses Apache XML-Sec Transform implementation)
- Author:
- Joyce Leung
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMXPathFilter2Transform
public DOMXPathFilter2Transform()
init
public void init(TransformParameterSpec params)
throws InvalidAlgorithmParameterException
- Description copied from class:
TransformService
- Initializes this
TransformService with the specified
parameters.
If the parameters exist in XML form, the
TransformService.init(XMLStructure, XMLCryptoContext) method should be used to
initialize the TransformService.
- Specified by:
init in class TransformService
- Parameters:
params - the algorithm parameters (may be null if
not required or optional)
- Throws:
InvalidAlgorithmParameterException - if the specified parameters
are invalid for this algorithm
init
public void init(XMLStructure parent,
XMLCryptoContext context)
throws InvalidAlgorithmParameterException
- Description copied from class:
TransformService
- Initializes this
TransformService with the specified
parameters and document context.
- Overrides:
init in class ApacheTransform
- Parameters:
parent - a mechanism-specific structure containing the parent
structurecontext - the XMLCryptoContext containing
additional context (may be null if not applicable)
- Throws:
InvalidAlgorithmParameterException - if the specified parameters
are invalid for this algorithm
marshalParams
public void marshalParams(XMLStructure parent,
XMLCryptoContext context)
throws MarshalException
- Description copied from class:
TransformService
- Marshals the algorithm-specific parameters. If there are no parameters
to be marshalled, this method returns without throwing an exception.
- Overrides:
marshalParams in class ApacheTransform
- Parameters:
parent - a mechanism-specific structure containing the parent
node that the marshalled parameters should be appended tocontext - the XMLCryptoContext containing
additional context (may be null if not applicable)
- Throws:
MarshalException - if the parameters cannot be marshalled
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.