Class AbstractPath
java.lang.Object
eu.europa.esig.dss.xml.common.definition.AbstractPath
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ASiCManifestPath,ManifestPath,XAdES111Path,XAdES122Path,XAdES132Path,XMLDSigPath,XMLERSPath
Contains a list of common XML xpaths
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final Stringall(DSSElement element) Builds the xpath expression to return entries of theelementprotected static final Stringall(DSSElement... elements) Builds the xpath expression to return entries of the givenelements arraystatic final StringallFromCurrentPosition(DSSElement element) Builds the xpath expression to return entries of theelementfrom the current positionprotected static StringallNotParent(DSSElement element, DSSElement notParentOf) Builds the xpath expression to return entries of theelementwhich are not parent ofnotParentOfstatic final StringfromCurrentPosition(DSSElement element) Builds the xpath expression to return entries of theelementfrom the current positionprotected static final StringfromCurrentPosition(DSSElement... elements) Builds the xpath expression to return entries starting from the current positionprotected static final StringfromCurrentPosition(DSSElement element, DSSAttribute attribute) Builds the xpath expression to return entries starting from the current position with the givenattribute
-
Constructor Details
-
AbstractPath
protected AbstractPath()Default constructor
-
-
Method Details
-
all
Builds the xpath expression to return entries of theelement- Parameters:
element-DSSElement- Returns:
Stringxpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries of theelementfrom the current position- Parameters:
element-DSSElement- Returns:
Stringxpath expression
-
allFromCurrentPosition
Builds the xpath expression to return entries of theelementfrom the current position- Parameters:
element-DSSElement- Returns:
Stringxpath expression
-
all
Builds the xpath expression to return entries of the givenelements array- Parameters:
elements- an array ofDSSElements- Returns:
Stringxpath expression
-
allNotParent
Builds the xpath expression to return entries of theelementwhich are not parent ofnotParentOf- Parameters:
element-DSSElementnotParentOf-DSSElement- Returns:
Stringxpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries starting from the current position- Parameters:
elements-DSSElement- Returns:
Stringxpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries starting from the current position with the givenattribute- Parameters:
element-DSSElementattribute-DSSAttribute- Returns:
Stringxpath expression
-