public class AbsolutePath
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AbsolutePath.PathElement
Inner class representing one step in the path
|
Constructor and Description |
---|
AbsolutePath(java.util.List<AbsolutePath.PathElement> path)
Create an absolute path
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPathUsingAbbreviatedUris()
Get a string representing the path using abbreviated namespace URIs to represent QNames
|
java.lang.String |
getPathUsingPrefixes()
Get a string representing the path using namespace prefixes to represent QNames
|
java.lang.String |
getPathUsingUris()
Get a string representing the path using namespace URIs to represent QNames
|
java.lang.String |
getSystemId() |
int |
hashCode() |
void |
setSystemId(java.lang.String systemId) |
java.lang.String |
toString() |
public AbsolutePath(java.util.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(java.lang.String systemId)
public java.lang.String getSystemId()
public java.lang.String getPathUsingPrefixes()
/prefix:local[n]/prefix:local[m]/...
public java.lang.String getPathUsingUris()
/Q{uri}local[n]/Q{uri}local[m]/...
public java.lang.String getPathUsingAbbreviatedUris()
/Q{uri}local[n]/Q{uri}local[m]/...
, with the URIs shortenedpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.