Package eu.europa.esig.dss.definition
Class AbstractPaths
java.lang.Object
eu.europa.esig.dss.definition.AbstractPaths
- Direct Known Subclasses:
ASiCPaths,ManifestPaths,XAdES111Paths,XAdES122Paths,XAdES132Paths,XMLDSigPaths
public abstract class AbstractPaths extends Object
Contains a list of common XML xpaths
-
Constructor Summary
Constructors Constructor Description AbstractPaths() -
Method Summary
Modifier and Type Method Description static Stringall(DSSElement element)Builds the xpath expression to return entries of theelementprotected static Stringall(DSSElement... elements)Builds the xpath expression to return entries of the givenelements arraystatic 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 StringfromCurrentPosition(DSSElement element)Builds the xpath expression to return entries of theelementfrom the current positionprotected static StringfromCurrentPosition(DSSElement... elements)Builds the xpath expression to return entries starting from the current positionprotected static StringfromCurrentPosition(DSSElement element, DSSAttribute attribute)Builds the xpath expression to return entries starting from the current position with the givenattribute
-
Constructor Details
-
AbstractPaths
public AbstractPaths()
-
-
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
-