public class AbsolutePath extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbsolutePath.PathElement
Inner class representing one step in the path
|
Constructor and Description |
---|
AbsolutePath(List<AbsolutePath.PathElement> path)
Create an absolute path
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPathUsingAbbreviatedUris()
Get a string representing the path using abbreviated namespace URIs to represent QNames
|
String |
getPathUsingPrefixes()
Get a string representing the path using namespace prefixes to represent QNames
|
String |
getPathUsingUris()
Get a string representing the path using namespace URIs to represent QNames
|
String |
getSystemId() |
int |
hashCode() |
void |
setSystemId(String systemId) |
String |
toString() |
public AbsolutePath(List<AbsolutePath.PathElement> path)
path
- the list of path elements, starting from the root. It is not necessary to include a path element
for the document node.public void setSystemId(String systemId)
public String getSystemId()
public String getPathUsingPrefixes()
/prefix:local[n]/prefix:local[m]/...
public String getPathUsingUris()
/Q{uri}local[n]/Q{uri}local[m]/...
public String getPathUsingAbbreviatedUris()
/Q{uri}local[n]/Q{uri}local[m]/...
, with the URIs shortenedCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.