|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.llom.OMSerializableImpl
org.apache.axiom.om.impl.llom.OMNodeImpl
public abstract class OMNodeImpl
Class OMNodeImpl
| Field Summary | |
|---|---|
protected OMNodeImpl |
nextSibling
Field nextSibling |
protected IContainer |
parent
Field parent |
protected OMNodeImpl |
previousSibling
Field previousSibling |
| Fields inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl |
|---|
factory |
| Fields inherited from interface org.apache.axiom.om.OMNode |
|---|
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
OMNodeImpl(OMFactory factory)
Constructor OMNodeImpl |
|
| Method Summary | |
|---|---|
void |
buildWithAttachments()
Parses this node and builds the object structure in memory. |
OMInformationItem |
clone(OMCloneOptions options)
|
OMNode |
detach()
Removes this information item and its children, from the model completely. |
IParentNode |
getIParentNode()
|
OMNode |
getNextOMSibling()
Returns the next sibling. |
OMNode |
getNextOMSiblingIfAvailable()
|
OMContainer |
getParent()
Returns the immediate parent of the node. |
OMNode |
getPreviousOMSibling()
Gets the previous sibling. |
void |
insertSiblingAfter(OMNode sibling)
Inserts a sibling just after the current information item. |
void |
insertSiblingBefore(OMNode sibling)
Inserts a sibling just before the current information item. |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer)
|
void |
internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
|
void |
setNextOMSibling(OMNode node)
Method setNextOMSibling. |
void |
setParent(OMContainer element)
Method setParent. |
void |
setPreviousOMSibling(OMNode previousSibling)
Method setPreviousOMSibling. |
| Methods inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl |
|---|
close, getBuilder, getOMFactory, internalSerialize, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.axiom.om.impl.OMNodeEx |
|---|
internalSerialize, setComplete |
| Methods inherited from interface org.apache.axiom.om.OMNode |
|---|
discard, getType, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMSerializable |
|---|
build, close, isComplete, serialize, serialize, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMInformationItem |
|---|
getOMFactory |
| Field Detail |
|---|
protected IContainer parent
protected OMNodeImpl nextSibling
protected OMNodeImpl previousSibling
| Constructor Detail |
|---|
public OMNodeImpl(OMFactory factory)
factory - The OMFactory that created this| Method Detail |
|---|
public OMContainer getParent()
getParent in interface OMNodeOMExceptionpublic IParentNode getIParentNode()
getIParentNode in interface IChildNodepublic void setParent(OMContainer element)
setParent in interface OMNodeExelement -
public OMNode getNextOMSibling()
throws OMException
getNextOMSibling in interface OMNodeOMExceptionpublic OMNode getNextOMSiblingIfAvailable()
getNextOMSiblingIfAvailable in interface OMNodeExpublic void setNextOMSibling(OMNode node)
setNextOMSibling in interface OMNodeExnode -
public OMNode detach()
throws OMException
detach in interface OMNodeOMException
public void insertSiblingAfter(OMNode sibling)
throws OMException
insertSiblingAfter in interface OMNodesibling -
OMException
public void insertSiblingBefore(OMNode sibling)
throws OMException
insertSiblingBefore in interface OMNodesibling -
OMExceptionpublic OMNode getPreviousOMSibling()
getPreviousOMSibling in interface OMNodepublic void setPreviousOMSibling(OMNode previousSibling)
setPreviousOMSibling in interface OMNodeExpreviousSibling - public void buildWithAttachments()
buildWithAttachments in interface OMNode
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerialize in interface OMNodeExjavax.xml.stream.XMLStreamException
public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerializeAndConsume in interface OMNodeExjavax.xml.stream.XMLStreamExceptionpublic OMInformationItem clone(OMCloneOptions options)
clone in interface OMInformationItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||