|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XNodeID
XNodeID provides an interface for a common, convenient identifier for XNodes, combining an immutable Collection ID (cid) and Node ID (nid) and a method for obtaining the database URL reference. XNodeID objects should generally be created by a factory so that they are themselves unique within a JVM.
The XNode API (the package org.purl.xnode.*, both its source code and documentation), are released under the Apache 2.0 License. For more details, check the LICENSE file contained with the distribution, or see The Ceryle Project for more information. It is distributed with no warranty.
| Method Summary | |
|---|---|
String |
cid()
Returns the Collection ID String. |
String |
nid()
Returns the Node ID String. |
String |
toPathNameFragment()
Returns a path name representation of this XNodeID (as a String), for use in path name composition, such as in zip files or XNode serializations existing on file systems. |
String |
toString()
Returns a String representation of this XNodeID. |
String |
toURI()
Returns a URI representation of this XNodeLink based on the root database URI, eg., ""xnode://db/cid/nid". |
| Method Detail |
|---|
String cid()
String nid()
String toPathNameFragment()
String toURI()
String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||