gnu.xml.dom

Class DomFragment

Implemented Interfaces:
Cloneable, Comparable, DocumentEvent, DocumentFragment, EventTarget, Node, NodeList

public class DomFragment
extends DomNode
implements DocumentFragment

"DocumentFragment" implementation.

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

Constructor Summary

DomFragment(DomDocument owner)
Constructs a DocumentFragment node associated with the specified document.

Method Summary

String
getNodeName()
DOM L1 Returns the string "#document-fragment".

Methods inherited from class gnu.xml.dom.DomNode

addEventListener, appendChild, clone, cloneNode, compact, compareDocumentPosition, compareTo, createEvent, dispatchEvent, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isReadonly, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, makeReadonly, nameAndTypeEquals, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toString, trimToSize

Constructor Details

DomFragment

protected DomFragment(DomDocument owner)
Constructs a DocumentFragment node associated with the specified document.

This constructor should only be invoked by a Document as part of its createDocumentFragment functionality, or through a subclass which is similarly used in a "Sub-DOM" style layer.

Method Details

getNodeName

public final String getNodeName()
DOM L1 Returns the string "#document-fragment".
Specified by:
getNodeName in interface Node
Overrides:
getNodeName in interface DomNode