org.apache.batik.dom

Class AbstractDocumentFragment

public abstract class AbstractDocumentFragment extends AbstractParentNode implements DocumentFragment

This class implements {@link 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 {@link org.w3c.dom.Node#getNodeName()}.
shortgetNodeType()
DOM: Implements {@link 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 {@link org.w3c.dom.Node#getNodeName()}.

Returns: "#document-fragment".

getNodeType

public short getNodeType()
DOM: Implements {@link org.w3c.dom.Node#getNodeType()}.

Returns: {@link org.w3c.dom.Node#DOCUMENT_FRAGMENT_NODE}

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