Enhydra 3.1.1b1 API

org.enhydra.xml.lazydom
Interface LazyElement


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_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
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 boolean areAttributesExpanded()
          Are the attributes of this node expanded?
 LazyElement getTemplateElement()
          Get the template for this node.
 void makeTemplateNode(int nodeId, java.lang.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, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 
Methods inherited from interface org.enhydra.xml.lazydom.LazyParent
appendChildWhileExpanding, areChildrenExpanded, isParentExpanded, setChildrenExpanded, setParentExpanded, setParentWhileExpanding
 
Methods inherited from interface org.enhydra.xml.io.PreFormattedText
getPreFormattedText, setPreFormattedText
 
Methods inherited from interface org.enhydra.xml.lazydom.LazyNode
getNodeId, getTemplateNode, isTemplateNode, makeTemplateNode, templateClone
 

Method Detail

makeTemplateNode

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

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?

Enhydra 3.1.1b1 API