|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GuTree<N>
A virtual XML tree for which the access mode has not been determined.
The GuTree
interface allows the consumer to choose a mode of access that is appropriate to the expected size
of the XML tree. A small tree that should easily fit in memory may be accessed through the GuCursor
or
GuModel
(Node) interfaces with random access capability. A large document may read sequentially using the
GuReader
(Pull) or GuContentHandler
(Push) interfaces. The XML tree may be directly serialized or it may be
queried to return a small in-memory subset.
Method Summary | |
---|---|
N |
asNode()
Provides random access to the tree as a node. |
GuProcessingContext<N> |
getProcessingContext()
Returns the processing context associated with this tree. |
Methods inherited from interface org.gxml.u.GuReadable |
---|
reader |
Methods inherited from interface org.gxml.u.GuWritable |
---|
write |
Method Detail |
---|
N asNode() throws java.io.IOException, GuMarshalException
java.io.IOException
GuMarshalException
GuProcessingContext<N> getProcessingContext()
getProcessingContext
in interface GuReadable<N>
getProcessingContext
in interface GuWritable<N>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |