Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enhydra.xml.lazydom
Interface LazyElement  view LazyElement download LazyElement.java

All Superinterfaces:
org.w3c.dom.Element, LazyNode, LazyParent, org.w3c.dom.Node, org.enhydra.xml.io.PreFormattedText
All Known Implementing Classes:
LazyElementNoNS, LazyElementNS

public interface LazyElement
extends org.w3c.dom.Element, LazyParent, org.enhydra.xml.io.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.


Field Summary
 
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
 
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.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 
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,
                             java.lang.String text)
Mark the node as a template node and associated preformatted text.


getTemplateElement

public LazyElement getTemplateElement()
Get the template for this node.


areAttributesExpanded

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