org.enhydra.xml.lazydom
Interface LazyParent

All Superinterfaces:
LazyNode, Node
All Known Subinterfaces:
LazyAttr, LazyElement
All Known Implementing Classes:
LazyEntityReference, LazyEntity, LazyDocument

public interface LazyParent
extends LazyNode

Interface use to define LazyDOM methods that apply to every node that can contain other nodes. See LazyNode documentation on properties of node expansion.


Fields inherited from interface org.enhydra.xml.lazydom.LazyNode
DOCUMENT_NODE_ID, NULL_NODE_ID
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 void appendChildWhileExpanding(Node child)
          Append a child during node expansion.
 boolean areChildrenExpanded()
          Are the children of this node expanded?
 boolean isParentExpanded()
          Is the parent of this node expanded?
 void setChildrenExpanded()
          Flag the children as being expanded.
 void setParentExpanded()
          Flag the parent as being expanded.
 void setParentWhileExpanding(Node parent)
          Set the parent of this node during expansion.
 
Methods inherited from interface org.enhydra.xml.lazydom.LazyNode
getNodeId, getTemplateNode, isTemplateNode, makeTemplateNode, templateClone
 
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
 

Method Detail

isParentExpanded

public boolean isParentExpanded()
Is the parent of this node expanded?

setParentExpanded

public void setParentExpanded()
Flag the parent as being expanded.

setParentWhileExpanding

public void setParentWhileExpanding(Node parent)
Set the parent of this node during expansion. This should also flag the parent as being expanded.

areChildrenExpanded

public boolean areChildrenExpanded()
Are the children of this node expanded?

setChildrenExpanded

public void setChildrenExpanded()
Flag the children as being expanded.

appendChildWhileExpanding

public void appendChildWhileExpanding(Node child)
Append a child during node expansion. This should only add the child, not trigger any other expansion.


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.