|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxri.Parsable
org.openxri.XRIPath
public abstract class XRIPath
This base class provides a strong typing for a XRI Path. Any object of this class that appears outside of the package is a valid XRI Path.
| Method Summary | |
|---|---|
int |
getNumSegments()
returns The number of XRISegmentVals for this relative path |
XRISegment |
getSegmentAt(int nIndex)
Returns the XRISegmentVal at the given index |
java.util.Iterator |
getSegmentIterator()
returns an Iterator for the XRISegmentVals for this relative path |
java.lang.String |
toIRINormalForm()
Serialzes Relative Path into IRI normal from |
java.lang.String |
toURINormalForm()
Serialzes Relative Path into URI normal from |
| Methods inherited from class org.openxri.Parsable |
|---|
compareTo, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getNumSegments()
public java.util.Iterator getSegmentIterator()
public XRISegment getSegmentAt(int nIndex)
nIndex - The index of the XRISegmentVal to return
public java.lang.String toIRINormalForm()
public java.lang.String toURINormalForm()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||