|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.dom.NodeImpl
org.apache.axiom.om.impl.dom.ChildNode
public abstract class ChildNode
| Field Summary | |
|---|---|
protected ChildNode |
nextSibling
|
protected ParentNode |
parentNode
|
protected ChildNode |
previousSibling
|
| Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
|---|
builder, done, factory, FIRSTCHILD, flags, 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_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Fields inherited from interface org.apache.axiom.om.OMNode |
|---|
DTD_NODE, PI_NODE, SPACE_NODE |
| Constructor Summary | |
|---|---|
protected |
ChildNode(DocumentImpl ownerDocument,
OMFactory factory)
|
protected |
ChildNode(OMFactory factory)
|
| Method Summary | |
|---|---|
org.w3c.dom.Node |
cloneNode(boolean deep)
|
OMNode |
detach()
Removes a node (and all of its children) from its containing parent. |
void |
discard()
Discards a node. |
OMNode |
getNextOMSibling()
Default behavior returns null, overriden in ChildNode. |
org.w3c.dom.Node |
getNextSibling()
Returns the next child of this node's parent, or null if none. |
OMContainer |
getParent()
Returns the parent containing node. |
org.w3c.dom.Node |
getParentNode()
|
OMNode |
getPreviousOMSibling()
Default behavior returns null, overriden in ChildNode. |
org.w3c.dom.Node |
getPreviousSibling()
Returns the previous child of this node's parent, or null if none. |
void |
insertSiblingAfter(OMNode sibling)
Inserts the given sibling next to this item. |
void |
insertSiblingBefore(OMNode sibling)
Inserts the given sibling before this item. |
void |
setNextOMSibling(OMNode node)
|
void |
setParent(OMContainer element)
|
void |
setPreviousOMSibling(OMNode node)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
|---|
getNodeName, getNodeType |
| Methods inherited from interface org.apache.axiom.om.impl.OMNodeEx |
|---|
internalSerialize, internalSerializeAndConsume, setType |
| Methods inherited from interface org.apache.axiom.om.OMNode |
|---|
getType |
| Field Detail |
|---|
protected ChildNode previousSibling
protected ChildNode nextSibling
protected ParentNode parentNode
| Constructor Detail |
|---|
protected ChildNode(DocumentImpl ownerDocument,
OMFactory factory)
ownerDocument - protected ChildNode(OMFactory factory)
| Method Detail |
|---|
public OMNode getNextOMSibling()
throws OMException
NodeImpl
getNextOMSibling in interface OMNodegetNextOMSibling in class NodeImplOMExceptionpublic org.w3c.dom.Node getNextSibling()
NodeImpl
getNextSibling in interface org.w3c.dom.NodegetNextSibling in class NodeImplpublic OMNode getPreviousOMSibling()
NodeImpl
getPreviousOMSibling in interface OMNodegetPreviousOMSibling in class NodeImplpublic org.w3c.dom.Node getPreviousSibling()
NodeImpl
getPreviousSibling in interface org.w3c.dom.NodegetPreviousSibling in class NodeImplpublic void setNextOMSibling(OMNode node)
setNextOMSibling in interface OMNodeExsetNextOMSibling in class NodeImplpublic void setPreviousOMSibling(OMNode node)
setPreviousOMSibling in interface OMNodeExsetPreviousOMSibling in class NodeImpl
public OMContainer getParent()
throws OMException
OMNodeOMDocument or OMElement.
getParent in interface OMNodegetParent in class NodeImplOMContainer of the node.
OMExceptionpublic org.w3c.dom.Node getParentNode()
getParentNode in interface org.w3c.dom.NodegetParentNode in class NodeImplpublic void setParent(OMContainer element)
public OMNode detach()
throws OMException
OMNode
detach in interface OMNodedetach in class NodeImplOMException - If a node is not complete, the detach can trigger further parsing, which may
cause an exception.
public void discard()
throws OMException
OMNode
OMException
public void insertSiblingAfter(OMNode sibling)
throws OMException
insertSiblingAfter in interface OMNodeinsertSiblingAfter in class NodeImplsibling - The node that will be added after the current node.
OMException
public void insertSiblingBefore(OMNode sibling)
throws OMException
insertSiblingBefore in interface OMNodeinsertSiblingBefore in class NodeImplsibling - The node that will be added before the current node.
OMExceptionpublic org.w3c.dom.Node cloneNode(boolean deep)
cloneNode in interface org.w3c.dom.NodecloneNode in class NodeImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||