Class XPathTransform
java.lang.Object
eu.europa.esig.dss.xades.reference.AbstractTransform
eu.europa.esig.dss.xades.reference.ComplexTransform
eu.europa.esig.dss.xades.reference.XPathTransform
- All Implemented Interfaces:
DSSTransform
,Serializable
- Direct Known Subclasses:
XPath2FilterTransform
,XPathEnvelopedSignatureTransform
The XPath transform
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.xades.reference.AbstractTransform
algorithm, namespace
-
Constructor Summary
ModifierConstructorDescriptionXPathTransform
(DSSNamespace xmlDSigNamespace, String xPathExpression) Constructor with namespaceprotected
XPathTransform
(DSSNamespace xmlDSigNamespace, String algorithm, String xPathExpression) Internal constructor with a custom algorithm urlXPathTransform
(String xPathExpression) Default constructor -
Method Summary
Methods inherited from class eu.europa.esig.dss.xades.reference.ComplexTransform
getBytesAfterTransformation, getXMLSignatureInput
Methods inherited from class eu.europa.esig.dss.xades.reference.AbstractTransform
getAlgorithm, setNamespace
-
Field Details
-
xPathExpression
The XPath expression to use
-
-
Constructor Details
-
XPathTransform
Default constructor- Parameters:
xPathExpression
-String
-
XPathTransform
Constructor with namespace- Parameters:
xmlDSigNamespace
-DSSNamespace
xPathExpression
-String
-
XPathTransform
Internal constructor with a custom algorithm url- Parameters:
xmlDSigNamespace
-DSSNamespace
algorithm
-String
urlxPathExpression
-String
-
-
Method Details
-
createTransform
Description copied from interface:DSSTransform
Creates a Transform element DOM and appends it to theparentNode
- Specified by:
createTransform
in interfaceDSSTransform
- Overrides:
createTransform
in classAbstractTransform
- Parameters:
document
-Document
to add transform forparentNode
-Element
to append transform to- Returns:
- created transform
Element
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractTransform
-
equals
- Overrides:
equals
in classAbstractTransform
-
toString
- Overrides:
toString
in classAbstractTransform
-