|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.lazydom.TemplateDOM
Class used to contain hold a Template DOM that is shared by all instance of the document. This assign node ids to all nodes in the template, mark them as template nodes and makes them read-only.
Constructor Summary | |
TemplateDOM(LazyDocument templateDocument)
Constructor. |
Method Summary | |
int |
getMaxNodeId()
Get the maximum node id. |
LazyNode |
getNode(int nodeId)
Get a node, given an id. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TemplateDOM(LazyDocument templateDocument)
Method Detail |
public final int getMaxNodeId()
public final LazyNode getNode(int nodeId)
nodeId
- A valid node id for this document, or NULL_NODE_ID.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |