|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nodal.Nodal
Nested Class Summary | |
static class |
Nodal.DriverBase
All RepositoryDriver implementations should extend this class in order to be properly registered with the top-level and available to openRepository(). |
Constructor Summary | |
Nodal()
|
Method Summary | |
static Document |
createDocument(Path path,
DocumentFormat format)
Create a new Document that can be accessed with the given Path. |
static Node |
nodeNamed(Name nm)
Access a Node defined by the Name as a Node id. |
static Document |
openDocument(Path docPath)
Open a Document given a Path. |
static Document |
openDocument(java.lang.String uri)
Open a Document named by a given URI. |
static Repository |
openRepository(Path path)
Open a Repository named by the given URI. |
static Repository |
openRepository(java.lang.String uri)
Open a Repository named by the given URI. |
static Path |
openURL(java.lang.String uri)
Open a URL for access by the NODAL interfaces. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Nodal()
Method Detail |
public static Path openURL(java.lang.String uri) throws Path.Failure
uri
- a String representing the URI to be parsed
Path.Failure
public static Node nodeNamed(Name nm)
nm
- a Name to identify the Node
public static Document openDocument(Path docPath)
docPath
- an absolute Path defining a Document
public static Document openDocument(java.lang.String uri) throws Path.Failure
uri
- an absolute URI defining a Document
Path.Failure
- if the uri is an invalid Pathpublic static Document createDocument(Path path, DocumentFormat format)
path
- a Path to attach this Document to.
java.lang.RuntimeException
- if a Document already expublic static Repository openRepository(java.lang.String uri) throws Path.Failure
uri
- a String naming a Repository
Path.Failure
- if the uri is an invalid Pathpublic static Repository openRepository(Path path) throws Path.Failure
path
- an absolute Path naming a Repository
Path.Failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |