org.apache.axis2.om.impl.dom
Class ChildNode
java.lang.Object
org.apache.axis2.om.impl.dom.NodeImpl
org.apache.axis2.om.impl.dom.ChildNode
- All Implemented Interfaces:
- Cloneable, Node, NodeList, org.apache.ws.commons.om.OMNode, org.apache.ws.commons.om.impl.OMNodeEx
- Direct Known Subclasses:
- CharacterImpl, ParentNode
- public abstract class ChildNode
- extends NodeImpl
Fields inherited from class org.apache.axis2.om.impl.dom.NodeImpl |
builder, done, factory, FIRSTCHILD, flags, nodeType, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
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 |
Fields inherited from interface org.apache.ws.commons.om.OMNode |
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
Constructor Summary |
protected |
ChildNode(DocumentImpl ownerDocument,
org.apache.ws.commons.om.OMFactory factory)
|
protected |
ChildNode(org.apache.ws.commons.om.OMFactory factory)
|
Methods inherited from class org.apache.axis2.om.impl.dom.NodeImpl |
appendChild, build, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNodeValue, getOMFactory, getOwnerDocument, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeWithCache, setComplete, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.ws.commons.om.impl.OMNodeEx |
serialize, serializeAndConsume, setType |
Methods inherited from interface org.apache.ws.commons.om.OMNode |
getType |
previousSibling
protected ChildNode previousSibling
nextSibling
protected ChildNode nextSibling
parentNode
protected ParentNode parentNode
ChildNode
protected ChildNode(DocumentImpl ownerDocument,
org.apache.ws.commons.om.OMFactory factory)
- Parameters:
ownerDocument
-
ChildNode
protected ChildNode(org.apache.ws.commons.om.OMFactory factory)
getNextOMSibling
public org.apache.ws.commons.om.OMNode getNextOMSibling()
throws org.apache.ws.commons.om.OMException
- Description copied from class:
NodeImpl
- Default behavior returns null, overriden in ChildNode.
- Specified by:
getNextOMSibling
in interface org.apache.ws.commons.om.OMNode
- Overrides:
getNextOMSibling
in class NodeImpl
- Throws:
org.apache.ws.commons.om.OMException
getNextSibling
public Node getNextSibling()
- Description copied from class:
NodeImpl
- Returns the next child of this node's parent, or null if none.
- Specified by:
getNextSibling
in interface Node
- Overrides:
getNextSibling
in class NodeImpl
getPreviousOMSibling
public org.apache.ws.commons.om.OMNode getPreviousOMSibling()
- Description copied from class:
NodeImpl
- Default behavior returns null, overriden in ChildNode.
- Specified by:
getPreviousOMSibling
in interface org.apache.ws.commons.om.OMNode
- Overrides:
getPreviousOMSibling
in class NodeImpl
getPreviousSibling
public Node getPreviousSibling()
- Description copied from class:
NodeImpl
- Returns the previous child of this node's parent, or null if none.
- Specified by:
getPreviousSibling
in interface Node
- Overrides:
getPreviousSibling
in class NodeImpl
setNextOMSibling
public void setNextOMSibling(org.apache.ws.commons.om.OMNode node)
- Specified by:
setNextOMSibling
in interface org.apache.ws.commons.om.impl.OMNodeEx
- Overrides:
setNextOMSibling
in class NodeImpl
setPreviousOMSibling
public void setPreviousOMSibling(org.apache.ws.commons.om.OMNode node)
- Specified by:
setPreviousOMSibling
in interface org.apache.ws.commons.om.impl.OMNodeEx
- Overrides:
setPreviousOMSibling
in class NodeImpl
getParent
public org.apache.ws.commons.om.OMContainer getParent()
throws org.apache.ws.commons.om.OMException
- Specified by:
getParent
in interface org.apache.ws.commons.om.OMNode
- Overrides:
getParent
in class NodeImpl
- Throws:
org.apache.ws.commons.om.OMException
getParentNode
public Node getParentNode()
- Specified by:
getParentNode
in interface Node
- Overrides:
getParentNode
in class NodeImpl
setParent
public void setParent(org.apache.ws.commons.om.OMContainer element)
detach
public org.apache.ws.commons.om.OMNode detach()
throws org.apache.ws.commons.om.OMException
- Specified by:
detach
in interface org.apache.ws.commons.om.OMNode
- Overrides:
detach
in class NodeImpl
- Throws:
org.apache.ws.commons.om.OMException
discard
public void discard()
throws org.apache.ws.commons.om.OMException
- Throws:
org.apache.ws.commons.om.OMException
insertSiblingAfter
public void insertSiblingAfter(org.apache.ws.commons.om.OMNode sibling)
throws org.apache.ws.commons.om.OMException
- Inserts the given sibling next to this item.
- Specified by:
insertSiblingAfter
in interface org.apache.ws.commons.om.OMNode
- Overrides:
insertSiblingAfter
in class NodeImpl
- Throws:
org.apache.ws.commons.om.OMException
insertSiblingBefore
public void insertSiblingBefore(org.apache.ws.commons.om.OMNode sibling)
throws org.apache.ws.commons.om.OMException
- Inserts the given sibling before this item.
- Specified by:
insertSiblingBefore
in interface org.apache.ws.commons.om.OMNode
- Overrides:
insertSiblingBefore
in class NodeImpl
- Throws:
org.apache.ws.commons.om.OMException
cloneNode
public Node cloneNode(boolean deep)
- Specified by:
cloneNode
in interface Node
- Overrides:
cloneNode
in class NodeImpl