org.openxri
Class XRef
java.lang.Object
org.openxri.Parsable
org.openxri.XRef
- All Implemented Interfaces:
- java.lang.Comparable
public class XRef
- extends Parsable
This class provides a strong typing for a XRI cross reference. Any
object of this class that appears outside of the package is a valid
cross reference.
- Author:
- =chetan
Constructor Summary |
XRef(java.lang.String sPath)
Constructs a cross-reference from a string |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
XRef
public XRef(java.lang.String sPath)
- Constructs a cross-reference from a string
getXRIReference
public XRIReference getXRIReference()
- Returns:
- XRIReference
getIRI
public java.lang.String getIRI()
- Returns:
- XRIValue
toIRINormalForm
public java.lang.String toIRINormalForm()
- Serialzes XRef into IRI normal from
- Returns:
- The IRI normal form of the XRef
toURINormalForm
public java.lang.String toURINormalForm()
Copyright © 2005-2012. All Rights Reserved.