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 String
all(DSSElement element)
Builds the xpath expression to return entries of theelement
protected static String
all(DSSElement... elements)
Builds the xpath expression to return entries of the givenelement
s arraystatic 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 String
fromCurrentPosition(DSSElement element)
Builds the xpath expression to return entries of theelement
from the current positionprotected static String
fromCurrentPosition(DSSElement... elements)
Builds the xpath expression to return entries starting from the current positionprotected static String
fromCurrentPosition(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:
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
-