gnu.xml.dom

Class DomFragment

public class DomFragment extends DomNode implements DocumentFragment

"DocumentFragment" implementation.

Version: $Date: 2001/11/20 04:53:46 $

Author: David Brownell

Constructor Summary
protected DomFragment(Document owner)
Constructs a DocumentFragment node associated with the specified document.
Method Summary
StringgetNodeName()
DOM L1 Returns the string "#document-fragment".
shortgetNodeType()
DOM L1 Returns the constant DOCUMENT_FRAGMENT_NODE.

Constructor Detail

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.

Method Detail

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.

Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2013-01-12.