|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.lazydom.NodeIdMap
Class to assign and map node ids to a node. Use in the construction of template DOMs.
Constructor Summary | |
NodeIdMap(org.w3c.dom.Document document)
Constructor. |
Method Summary | |
int |
getDocumentTypeNodeId(org.w3c.dom.Node node)
Get the document type node id. |
int |
getId(org.w3c.dom.Node node)
Get the node id for a node, generating an error if not found. |
java.lang.String |
getIdStr(org.w3c.dom.Node node)
Get an id as a string. |
int |
getMaxNodeId()
Get the maximum node id assigned. |
org.w3c.dom.Node |
getNode(int id)
Get a node, given its id. |
int |
size()
Get the size of the node map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeIdMap(org.w3c.dom.Document document)
Method Detail |
public org.w3c.dom.Node getNode(int id)
public int getId(org.w3c.dom.Node node)
public java.lang.String getIdStr(org.w3c.dom.Node node)
public int getMaxNodeId()
public int size()
public int getDocumentTypeNodeId(org.w3c.dom.Node node)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |