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
FieldsFields inherited from class eu.europa.esig.dss.xades.reference.AbstractTransform
algorithm, namespace -
Constructor Summary
ConstructorsModifierConstructorDescriptionXPathTransform(DSSNamespace xmlDSigNamespace, String xPathExpression) Constructor with namespaceprotectedXPathTransform(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
buildTransformObject, performTransformMethods inherited from class eu.europa.esig.dss.xades.reference.AbstractTransform
getAlgorithm, setNamespace
-
Field Details
-
xPathExpression
The XPath expression to use
-
-
Constructor Details
-
XPathTransform
-
XPathTransform
Constructor with namespace- Parameters:
xmlDSigNamespace-DSSNamespacexPathExpression-String
-
XPathTransform
Internal constructor with a custom algorithm url- Parameters:
xmlDSigNamespace-DSSNamespacealgorithm-StringurlxPathExpression-String
-
-
Method Details
-
createTransform
Description copied from interface:DSSTransformCreates a Transform element DOM and appends it to theparentNode- Specified by:
createTransformin interfaceDSSTransform- Overrides:
createTransformin classAbstractTransform- Parameters:
document-Documentto add transform forparentNode-Elementto append transform to- Returns:
- created transform
Element
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractTransform
-
equals
- Overrides:
equalsin classAbstractTransform
-
toString
- Overrides:
toStringin classAbstractTransform
-