⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
gnu.xml.dom

Class DomFragment

java.lang.Object
|
+--gnu.xml.dom.DomNode
   |
   +--gnu.xml.dom.DomFragment

All Implemented Interfaces:
java.lang.Cloneable, DocumentFragment, DocumentEvent, EventTarget, Node, NodeList


public class DomFragment
extends DomNode
implements DocumentFragment

"DocumentFragment" implementation.

Author:
David Brownell

Constructor Summary

DomFragment(Document owner)

Constructs a DocumentFragment node associated with the specified document.

Method Summary

java.lang.String

getNodeName()

DOM L1 Returns the string "#document-fragment".

short

getNodeType()

DOM L1 Returns the constant DOCUMENT_FRAGMENT_NODE.

Constructor Details

DomFragment

protected DomFragment(Document 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.

Parameters:
owner

Method Details

getNodeName

public final String getNodeName()

DOM L1 Returns the string "#document-fragment".


getNodeType

public final short getNodeType()

DOM L1 Returns the constant DOCUMENT_FRAGMENT_NODE.