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

Class DomFragment

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

All Implemented Interfaces:

DocumentFragment, Node, NodeList, EventTarget, DocumentEvent, Cloneable


public class DomFragment

extends DomNode

implements DocumentFragment

"DocumentFragment" implementation.

Author:

Constructor Summary

DomFragment(org.w3c.dom.Document owner)

Constructs a DocumentFragment node associated with the specified document.

Method Summary

java.lang.StringgetNodeName()

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

DOM L1 Returns the constant DOCUMENT_FRAGMENT_NODE.

Constructor Details

DomFragment

protected DomFragment(org.w3c.dom.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:


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.