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
-
Method Summary
Modifier and TypeMethodDescriptionstatic final String
all
(DSSElement element) Builds the xpath expression to return entries of theelement
protected static final String
all
(DSSElement... elements) Builds the xpath expression to return entries of the givenelement
s arraystatic final String
allFromCurrentPosition
(DSSElement element) Builds the xpath expression to return entries of theelement
from the current positionprotected static String
allNotParent
(DSSElement element, DSSElement notParentOf) Builds the xpath expression to return entries of theelement
which are not parent ofnotParentOf
static final String
fromCurrentPosition
(DSSElement element) Builds the xpath expression to return entries of theelement
from the current positionprotected static final String
fromCurrentPosition
(DSSElement... elements) Builds the xpath expression to return entries starting from the current positionprotected static final String
fromCurrentPosition
(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:
String
xpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries of theelement
from the current position- Parameters:
element
-DSSElement
- Returns:
String
xpath expression
-
allFromCurrentPosition
Builds the xpath expression to return entries of theelement
from the current position- Parameters:
element
-DSSElement
- Returns:
String
xpath expression
-
all
Builds the xpath expression to return entries of the givenelement
s array- Parameters:
elements
- an array ofDSSElement
s- Returns:
String
xpath expression
-
allNotParent
Builds the xpath expression to return entries of theelement
which are not parent ofnotParentOf
- Parameters:
element
-DSSElement
notParentOf
-DSSElement
- Returns:
String
xpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries starting from the current position- Parameters:
elements
-DSSElement
- Returns:
String
xpath expression
-
fromCurrentPosition
Builds the xpath expression to return entries starting from the current position with the givenattribute
- Parameters:
element
-DSSElement
attribute
-DSSAttribute
- Returns:
String
xpath expression
-