|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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(Document document)
Constructor. |
Method Summary | |
int |
getDocumentTypeNodeId(Node node)
Get the document type node id. |
int |
getId(Node node)
Get the node id for a node, generating an error if not found. |
String |
getIdStr(Node node)
Get an id as a string. |
int |
getMaxNodeId()
Get the maximum node id assigned. |
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 |
|
Constructor Detail |
public NodeIdMap(Document document)
Method Detail |
public Node getNode(int id)
public int getId(Node node)
public String getIdStr(Node node)
public int getMaxNodeId()
public int size()
public int getDocumentTypeNodeId(Node node)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |