Package eu.europa.esig.dss.definition
Class AbstractPaths
java.lang.Object
eu.europa.esig.dss.definition.AbstractPaths
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ASiCPaths
,ManifestPaths
,XAdES111Paths
,XAdES122Paths
,XAdES132Paths
,XMLDSigPaths
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
-
AbstractPaths
protected AbstractPaths()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
-