|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.apache.xerces.dom.NodeImpl | +--org.enhydra.apache.xerces.dom.ChildNode | +--org.enhydra.apache.xerces.dom.ParentNode | +--org.enhydra.apache.xerces.dom.EntityReferenceImpl | +--org.enhydra.xml.lazydom.LazyEntityReference
Lazy text node.
Fields inherited from class org.enhydra.apache.xerces.dom.EntityReferenceImpl |
name, serialVersionUID |
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode |
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument |
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED |
Fields inherited from interface org.enhydra.xml.lazydom.LazyNode |
DOCUMENT_NODE_ID, NULL_NODE_ID |
Constructor Summary | |
protected |
LazyEntityReference(LazyDocument ownerDoc,
LazyEntityReference template,
String name)
Constructor. |
Method Summary | |
Node |
appendChild(Node newChild)
|
void |
appendChildWhileExpanding(Node child)
Append a child during node expansion. |
boolean |
areChildrenExpanded()
Are the children of this node expanded? |
Node |
cloneNode(boolean deep)
|
NodeList |
getChildNodes()
|
Node |
getFirstChild()
|
Node |
getLastChild()
|
Node |
getNextSibling()
|
int |
getNodeId()
Get the node numeric id number. |
Node |
getParentNode()
|
Node |
getPreviousSibling()
|
LazyEntityReference |
getTemplateEntityReference()
Get the template for this node. |
LazyNode |
getTemplateNode()
Get the template node as a LazyNode. |
boolean |
hasChildNodes()
|
Node |
insertBefore(Node newChild,
Node refChild)
|
boolean |
isParentExpanded()
Is the parent of this node expanded? |
boolean |
isTemplateNode()
Check if this node is a template node. |
void |
makeTemplateNode(int nodeId)
|
void |
normalize()
|
Node |
removeChild(Node oldChild)
|
Node |
replaceChild(Node newChild,
Node oldChild)
|
void |
setChildrenExpanded()
Flag the children as being expanded. |
void |
setNodeValue(String value)
Set the node value, invalidating the id. |
void |
setParentExpanded()
Flag the parent as being expanded. |
void |
setParentWhileExpanding(Node parent)
Set the parent of this node during expansion. |
LazyNode |
templateClone(Document ownerDocument)
Create a new node, using this node as the template. |
Methods inherited from class org.enhydra.apache.xerces.dom.EntityReferenceImpl |
getLength, getNodeName, getNodeType, item, synchronize |
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode |
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodesUnoptimized, getOwnerDocument, internalInsertBefore, internalRemoveChild, lastChild, lastChild, ownerDocument, setOwnerDocument, setReadOnly, synchronizeChildren |
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode |
parentNode, previousSibling |
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
addEventListener, changed, changes, compareDocumentPosition, dispatchEvent, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasAttributes, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setPrefix, setTextContent, setUserData, setUserData, synchronizeData, toString |
Methods inherited from class java.lang.Object |
|
Methods inherited from interface org.w3c.dom.Node |
compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setPrefix, setTextContent, setUserData |
Constructor Detail |
protected LazyEntityReference(LazyDocument ownerDoc, LazyEntityReference template, String name)
ownerDoc
- The document that owns this node.template
- If not-null, get the parameters from this template.name
- The entity name.
Will be ignored if template is not-null.Method Detail |
public LazyEntityReference getTemplateEntityReference()
LazyNode.getTemplateNode()
public Node cloneNode(boolean deep)
cloneNode
in interface Node
cloneNode
in class org.enhydra.apache.xerces.dom.ParentNode
Node.cloneNode(boolean)
public void makeTemplateNode(int nodeId)
makeTemplateNode
in interface LazyNode
public int getNodeId()
LazyNode
getNodeId
in interface LazyNode
LazyNode.getNodeId()
public boolean isTemplateNode()
LazyNode
isTemplateNode
in interface LazyNode
LazyNode.isTemplateNode()
public LazyNode getTemplateNode()
LazyNode
getTemplateNode
in interface LazyNode
LazyNode.getTemplateNode()
public LazyNode templateClone(Document ownerDocument)
LazyNode
templateClone
in interface LazyNode
LazyNode.templateClone(org.w3c.dom.Document)
public void setNodeValue(String value)
setNodeValue
in interface Node
setNodeValue
in class org.enhydra.apache.xerces.dom.NodeImpl
Node.setNodeValue(java.lang.String)
public boolean isParentExpanded()
LazyParent
isParentExpanded
in interface LazyParent
LazyParent.isParentExpanded()
public void setParentExpanded()
LazyParent
setParentExpanded
in interface LazyParent
LazyParent.setParentExpanded()
public void setParentWhileExpanding(Node parent)
LazyParent
setParentWhileExpanding
in interface LazyParent
LazyParent.setParentWhileExpanding(org.w3c.dom.Node)
public boolean areChildrenExpanded()
LazyParent
areChildrenExpanded
in interface LazyParent
LazyParent.areChildrenExpanded()
public void setChildrenExpanded()
LazyParent
setChildrenExpanded
in interface LazyParent
LazyParent.setChildrenExpanded()
public void appendChildWhileExpanding(Node child)
LazyParent
appendChildWhileExpanding
in interface LazyParent
LazyParent.appendChildWhileExpanding(org.w3c.dom.Node)
public Node getParentNode()
getParentNode
in interface Node
getParentNode
in class org.enhydra.apache.xerces.dom.ChildNode
Node.getParentNode()
public NodeList getChildNodes()
getChildNodes
in interface Node
getChildNodes
in class org.enhydra.apache.xerces.dom.EntityReferenceImpl
Node.getChildNodes()
public Node getFirstChild()
getFirstChild
in interface Node
getFirstChild
in class org.enhydra.apache.xerces.dom.EntityReferenceImpl
Node.getFirstChild()
public Node getLastChild()
getLastChild
in interface Node
getLastChild
in class org.enhydra.apache.xerces.dom.EntityReferenceImpl
Node.getLastChild()
public Node getPreviousSibling()
getPreviousSibling
in interface Node
getPreviousSibling
in class org.enhydra.apache.xerces.dom.ChildNode
Node.getPreviousSibling()
public Node getNextSibling()
getNextSibling
in interface Node
getNextSibling
in class org.enhydra.apache.xerces.dom.ChildNode
Node.getNextSibling()
public Node insertBefore(Node newChild, Node refChild) throws DOMException
insertBefore
in interface Node
insertBefore
in class org.enhydra.apache.xerces.dom.ParentNode
Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)
public Node replaceChild(Node newChild, Node oldChild) throws DOMException
replaceChild
in interface Node
replaceChild
in class org.enhydra.apache.xerces.dom.ParentNode
Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)
public Node removeChild(Node oldChild) throws DOMException
removeChild
in interface Node
removeChild
in class org.enhydra.apache.xerces.dom.ParentNode
Node.removeChild(org.w3c.dom.Node)
public Node appendChild(Node newChild) throws DOMException
appendChild
in interface Node
appendChild
in class org.enhydra.apache.xerces.dom.NodeImpl
Node.appendChild(org.w3c.dom.Node)
public boolean hasChildNodes()
hasChildNodes
in interface Node
hasChildNodes
in class org.enhydra.apache.xerces.dom.EntityReferenceImpl
Node.hasChildNodes()
public void normalize()
normalize
in interface Node
normalize
in class org.enhydra.apache.xerces.dom.ParentNode
Node.normalize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |