|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface use to define Lazy DOM methods that apply to every node. In addition to these methods, each node must:
There are two basic interfaces for implementing LazyDOM nodes: LazyNode and LazyParent, with LazyParent extended LazyNode. They have the following properties:
Field Summary | |
static int |
DOCUMENT_NODE_ID
Node id returned for the Document node. |
static int |
NULL_NODE_ID
Constant to indicate an node does not have an id. |
Method Summary | |
int |
getNodeId()
Get the node numeric id number. |
LazyNode |
getTemplateNode()
Get the template node as a LazyNode. |
boolean |
isTemplateNode()
Check if this node is a template node. |
void |
makeTemplateNode(int nodeId)
|
LazyNode |
templateClone(Document ownerDocument)
Create a new node, using this node as the template. |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Field Detail |
public static final int NULL_NODE_ID
public static final int DOCUMENT_NODE_ID
Method Detail |
public void makeTemplateNode(int nodeId)
public int getNodeId()
public boolean isTemplateNode()
public LazyNode getTemplateNode()
public LazyNode templateClone(Document ownerDocument)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |