com.beasys.commerce.util.dom
Class DocumentFragmentImpl
java.lang.Object
|
+--com.beasys.commerce.util.dom.DOMBase
|
+--com.beasys.commerce.util.dom.NodeImpl
|
+--com.beasys.commerce.util.dom.DocumentFragmentImpl
- public class DocumentFragmentImpl
- extends NodeImpl
- implements org.w3c.dom.DocumentFragment
An implementation of the W3C's DOM DocumentFragment object.
Note: I'm not sure, but I think the parentNode of these is always
null.
- See Also:
- Serialized Form
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE,
CDATA_SECTION_NODE,
COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE,
DOCUMENT_NODE,
DOCUMENT_TYPE_NODE,
ELEMENT_NODE,
ENTITY_NODE,
ENTITY_REFERENCE_NODE,
NOTATION_NODE,
PROCESSING_INSTRUCTION_NODE,
TEXT_NODE |
Methods inherited from class com.beasys.commerce.util.dom.NodeImpl |
allowsChildren,
appendChild,
appendChildren,
checkAllowChild,
cloneNode,
getAttributes,
getChildNodes,
getFirstChild,
getLastChild,
getNextSibling,
getNodeType,
getNodeValue,
getParentNode,
getPreviousSibling,
hasChildNodes,
insertBefore,
insertChildrenBefore,
isAncestor,
removeChild,
replaceChild,
setNodeValue,
setParentNode |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DocumentFragmentImpl
public DocumentFragmentImpl(org.w3c.dom.Document doc)
- Constructor.
- Parameters:
doc
- the owning document.
cloneNode
public org.w3c.dom.Node cloneNode()
- Clone this node.
- Overrides:
- cloneNode in class NodeImpl
getAllowableChildrenTypes
protected short[] getAllowableChildrenTypes()
- Get the allowable children types.
- Overrides:
- getAllowableChildrenTypes in class NodeImpl
- Tags copied from class: NodeImpl
- Returns:
- an array of nodeTypes, or null for no children allowed.
getNodeType
public short getNodeType()
- Return Node.DOCUMENT_FRAGMENT_NODE.
- Overrides:
- getNodeType in class NodeImpl
getNodeName
public java.lang.String getNodeName()
- Return #document-fragment.
- Overrides:
- getNodeName in class NodeImpl
Copyright © 2000 BEA Systems, Inc. All Rights Reserved