org.apache.batik.dom

Class AbstractDocumentFragment

public abstract class AbstractDocumentFragment extends AbstractParentNode implements DocumentFragment

This class implements org.w3c.dom.DocumentFragment interface.
Method Summary
protected voidcheckChildType(Node n, boolean replace)
Checks the validity of a node to be inserted.
StringgetNodeName()
DOM: Implements org.w3c.dom.Node#getNodeName().
shortgetNodeType()
DOM: Implements org.w3c.dom.Node#getNodeType().

Method Detail

checkChildType

protected void checkChildType(Node n, boolean replace)
Checks the validity of a node to be inserted.

getNodeName

public String getNodeName()
DOM: Implements org.w3c.dom.Node#getNodeName().

Returns: "#document-fragment".

getNodeType

public short getNodeType()
DOM: Implements org.w3c.dom.Node#getNodeType().

Returns: org.w3c.dom.Node#DOCUMENT_FRAGMENT_NODE

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.