Class AbstractPath
java.lang.Object
eu.europa.esig.dss.xml.common.definition.AbstractPath
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
XMLDSigPath
Contains a list of common XML xpaths
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XPathQueryall(DSSElement element) Builds the xpath expression to return entries of theelementstatic XPathQueryall(DSSElement... elements) Builds the xpath expression to return entries of the givenelements arraystatic XPathQueryallFromCurrentPosition(DSSElement element) Builds the xpath expression to return entries of theelementfrom the current positionstatic XPathQueryallNotParent(DSSElement element, DSSElement notChildOf) Builds the xpath expression to return entries of theelementwhich are not child ofnotChildOfelementstatic XPathQueryfromCurrentPosition(DSSElement element) Builds the xpath expression to return entries of theelementfrom the current positionstatic XPathQueryfromCurrentPosition(DSSElement... elements) Builds the xpath expression to return entries starting from the current positionstatic XPathQueryfromCurrentPosition(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:
XPathQueryxpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries of theelementfrom the current position- Parameters:
element-DSSElement- Returns:
XPathQueryxpath expression
-
allFromCurrentPosition
Builds the xpath expression to return entries of theelementfrom the current position- Parameters:
element-DSSElement- Returns:
XPathQueryxpath expression
-
all
Builds the xpath expression to return entries of the givenelements array- Parameters:
elements- an array ofDSSElements- Returns:
XPathQueryxpath expression
-
allNotParent
Builds the xpath expression to return entries of theelementwhich are not child ofnotChildOfelement- Parameters:
element-DSSElementnotChildOf-DSSElement- Returns:
XPathQueryxpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries starting from the current position- Parameters:
elements-DSSElement- Returns:
XPathQueryxpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries starting from the current position with the givenattribute- Parameters:
element-DSSElementattribute-DSSAttribute- Returns:
XPathQueryxpath expression
-