|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Document in a Repository.
Method Summary | |
Directory |
asDirectory()
Treat this Document as a Directory. |
Node |
docNode()
The Document node for this document. |
DocumentFormat |
format()
The schema for this document type. |
Node |
nodeNamed(Name name)
Return the Node with the given Name in this Document. |
Node |
nodeNamed(java.lang.String name)
Return the Node with the given Name in this Document. |
Path |
path()
A Path to this Document. |
Repository |
repository()
The Repository that contains this Document. |
Node |
root()
The root Node of this Document's graph. |
void |
write(java.io.OutputStream s)
Write the encoding of this Document on the given OutputStream. |
Method Detail |
public Repository repository()
public Path path()
public DocumentFormat format()
public Node root()
public Node docNode()
public Node nodeNamed(Name name)
name
- the Name of the Node
public Node nodeNamed(java.lang.String name)
name
- a String representing the Node
public Directory asDirectory()
Directory
interface, otherwise return null. Can be
used both as a cast and test.
public void write(java.io.OutputStream s) throws java.io.IOException
s
- the stream to write onto
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |