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.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 |
Methods inherited from interface org.w3c.dom.Element |
getAttribute,
getAttributeNode,
getAttributeNodeNS,
getAttributeNS,
getElementsByTagName,
getElementsByTagNameNS,
getTagName,
hasAttribute,
hasAttributeNS,
removeAttribute,
removeAttributeNode,
removeAttributeNS,
setAttribute,
setAttributeNode,
setAttributeNodeNS,
setAttributeNS |
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?