org.enhydra.xml.lazydom
Interface LazyElement

All Superinterfaces:
Element, LazyNode, LazyParent, Node, PreFormattedText
All Known Implementing Classes:
LazyElementNoNS, LazyElementNS

public interface LazyElement
extends Element, LazyParent, PreFormattedText

Interface implemented by both LazyElementNS and LazyElementNoNS. These must be split due to the underlying design to the Xerces DOM. This interface provices a mechanism to access both.


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
 
Fields inherited from interface org.enhydra.xml.lazydom.LazyNode
DOCUMENT_NODE_ID, NULL_NODE_ID
 
Method Summary
 boolean areAttributesExpanded()
          Are the attributes of this node expanded?
 LazyElement getTemplateElement()
          Get the template for this node.
 void makeTemplateNode(int nodeId, String text)
          Mark the node as a template node and associated preformatted text.
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
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
 
Methods inherited from interface org.enhydra.xml.lazydom.LazyParent
appendChildWhileExpanding, areChildrenExpanded, isParentExpanded, setChildrenExpanded, setParentExpanded, setParentWhileExpanding
 
Methods inherited from interface org.enhydra.xml.lazydom.LazyNode
getNodeId, getTemplateNode, isTemplateNode, makeTemplateNode, templateClone
 
Methods inherited from interface org.enhydra.xml.io.PreFormattedText
getPreFormattedText, setPreFormattedText
 

Method Detail

makeTemplateNode

public void makeTemplateNode(int nodeId,
                             String text)
Mark the node as a template node and associated preformatted text.
See Also:
LazyNode.makeTemplateNode(int), PreFormattedText.setPreFormattedText(java.lang.String)

getTemplateElement

public LazyElement getTemplateElement()
Get the template for this node.
See Also:
LazyNode.getTemplateNode()

areAttributesExpanded

public boolean areAttributesExpanded()
Are the attributes of this node expanded?


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