|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.om.impl.llom.OMNodeImpl
public abstract class OMNodeImpl
Class OMNodeImpl
| Field Summary | |
|---|---|
org.apache.axiom.om.OMXMLParserWrapper |
builder
Field builder |
private static boolean |
DEBUG_ENABLED
|
protected boolean |
done
Field done |
protected org.apache.axiom.om.OMFactory |
factory
|
private static org.apache.commons.logging.Log |
log
|
protected OMNodeImpl |
nextSibling
Field nextSibling |
protected int |
nodeType
Field nodeType |
protected org.apache.axiom.om.impl.OMContainerEx |
parent
Field parent |
protected OMNodeImpl |
previousSibling
Field previousSibling |
| Constructor Summary | |
|---|---|
OMNodeImpl(org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMFactory factory,
boolean done)
For a node to exist there must be a parent. |
|
OMNodeImpl(org.apache.axiom.om.OMFactory factory)
Constructor OMNodeImpl |
|
| Method Summary | |
|---|---|
void |
build()
Parses this node and builds the object structure in memory. |
void |
buildWithAttachments()
Parses this node and builds the object structure in memory. |
void |
close(boolean build)
|
org.apache.axiom.om.OMNode |
detach()
Removes this information item and its children, from the model completely. |
org.apache.axiom.om.OMNode |
getNextOMSibling()
Returns the next sibling. |
org.apache.axiom.om.OMFactory |
getOMFactory()
|
org.apache.axiom.om.OMContainer |
getParent()
Returns the immediate parent of the node. |
org.apache.axiom.om.OMNode |
getPreviousOMSibling()
Gets the previous sibling. |
int |
getType()
Gets the type of node, as this is the super class of all the nodes. |
protected org.apache.axiom.om.OMNode |
importNode(org.apache.axiom.om.OMNode child)
This method is intended only to be used by Axiom intenals when merging Objects from different Axiom implementations to the LLOM implementation. |
void |
insertSiblingAfter(org.apache.axiom.om.OMNode sibling)
Inserts a sibling just after the current information item. |
void |
insertSiblingBefore(org.apache.axiom.om.OMNode sibling)
Inserts a sibling just before the current information item. |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer)
Serializes the node with caching. |
void |
internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
Serializes the node without caching. |
boolean |
isComplete()
Indicates whether parser has parsed this information item completely or not. |
void |
serialize(java.io.OutputStream output)
|
void |
serialize(java.io.OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
|
void |
serialize(java.io.Writer writer)
|
void |
serialize(java.io.Writer writer2,
org.apache.axiom.om.OMOutputFormat format)
|
void |
serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
Serializes the node with caching. |
void |
serializeAndConsume(java.io.OutputStream output)
|
void |
serializeAndConsume(java.io.OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
|
void |
serializeAndConsume(java.io.Writer writer)
|
void |
serializeAndConsume(java.io.Writer writer2,
org.apache.axiom.om.OMOutputFormat format)
|
void |
serializeAndConsume(javax.xml.stream.XMLStreamWriter xmlWriter)
Serializes the node without caching. |
void |
setComplete(boolean state)
Method setComplete. |
void |
setNextOMSibling(org.apache.axiom.om.OMNode node)
Method setNextOMSibling. |
void |
setParent(org.apache.axiom.om.OMContainer element)
Method setParent. |
void |
setPreviousOMSibling(org.apache.axiom.om.OMNode previousSibling)
Method setPreviousOMSibling. |
void |
setType(int nodeType)
Method setType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final org.apache.commons.logging.Log log
private static boolean DEBUG_ENABLED
protected org.apache.axiom.om.impl.OMContainerEx parent
protected OMNodeImpl nextSibling
protected OMNodeImpl previousSibling
public org.apache.axiom.om.OMXMLParserWrapper builder
protected boolean done
protected int nodeType
protected org.apache.axiom.om.OMFactory factory
| Constructor Detail |
|---|
public OMNodeImpl(org.apache.axiom.om.OMFactory factory)
factory - The OMFactory that created this
public OMNodeImpl(org.apache.axiom.om.OMContainer parent,
org.apache.axiom.om.OMFactory factory,
boolean done)
parent - Parent OMContainer of this nodefactory - The OMFactory that created this| Method Detail |
|---|
public org.apache.axiom.om.OMContainer getParent()
getParent in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMExceptionpublic void setParent(org.apache.axiom.om.OMContainer element)
setParent in interface org.apache.axiom.om.impl.OMNodeExelement -
public org.apache.axiom.om.OMNode getNextOMSibling()
throws org.apache.axiom.om.OMException
getNextOMSibling in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMExceptionpublic void setNextOMSibling(org.apache.axiom.om.OMNode node)
setNextOMSibling in interface org.apache.axiom.om.impl.OMNodeExnode - public boolean isComplete()
isComplete in interface org.apache.axiom.om.OMNodepublic void setComplete(boolean state)
setComplete in interface org.apache.axiom.om.impl.OMNodeExstate -
public org.apache.axiom.om.OMNode detach()
throws org.apache.axiom.om.OMException
detach in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMException
public void insertSiblingAfter(org.apache.axiom.om.OMNode sibling)
throws org.apache.axiom.om.OMException
insertSiblingAfter in interface org.apache.axiom.om.OMNodesibling -
org.apache.axiom.om.OMException
public void insertSiblingBefore(org.apache.axiom.om.OMNode sibling)
throws org.apache.axiom.om.OMException
insertSiblingBefore in interface org.apache.axiom.om.OMNodesibling -
org.apache.axiom.om.OMExceptionpublic int getType()
getType in interface org.apache.axiom.om.OMNodesetType(int)setType(int)
public void setType(int nodeType)
throws org.apache.axiom.om.OMException
setType in interface org.apache.axiom.om.impl.OMNodeExnodeType -
org.apache.axiom.om.OMExceptionpublic org.apache.axiom.om.OMNode getPreviousOMSibling()
getPreviousOMSibling in interface org.apache.axiom.om.OMNodepublic void setPreviousOMSibling(org.apache.axiom.om.OMNode previousSibling)
setPreviousOMSibling in interface org.apache.axiom.om.impl.OMNodeExpreviousSibling -
public void build()
throws org.apache.axiom.om.OMException
build in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMExceptionpublic void buildWithAttachments()
buildWithAttachments in interface org.apache.axiom.om.OMNodepublic void close(boolean build)
close in interface org.apache.axiom.om.OMNode
public void serialize(javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMNodexmlWriter -
javax.xml.stream.XMLStreamException
public void serializeAndConsume(javax.xml.stream.XMLStreamWriter xmlWriter)
throws javax.xml.stream.XMLStreamException
serializeAndConsume in interface org.apache.axiom.om.OMNodexmlWriter -
javax.xml.stream.XMLStreamException
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerialize in interface org.apache.axiom.om.impl.OMNodeExwriter -
javax.xml.stream.XMLStreamException
public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
internalSerializeAndConsume in interface org.apache.axiom.om.impl.OMNodeExwriter -
javax.xml.stream.XMLStreamException
public void serialize(java.io.OutputStream output)
throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMNodejavax.xml.stream.XMLStreamException
public void serialize(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMNodejavax.xml.stream.XMLStreamException
public void serializeAndConsume(java.io.OutputStream output)
throws javax.xml.stream.XMLStreamException
serializeAndConsume in interface org.apache.axiom.om.OMNodejavax.xml.stream.XMLStreamException
public void serializeAndConsume(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
serializeAndConsume in interface org.apache.axiom.om.OMNodejavax.xml.stream.XMLStreamException
public void serialize(java.io.OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMNodejavax.xml.stream.XMLStreamException
public void serialize(java.io.Writer writer2,
org.apache.axiom.om.OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
serialize in interface org.apache.axiom.om.OMNodejavax.xml.stream.XMLStreamException
public void serializeAndConsume(java.io.OutputStream output,
org.apache.axiom.om.OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
serializeAndConsume in interface org.apache.axiom.om.OMNodejavax.xml.stream.XMLStreamException
public void serializeAndConsume(java.io.Writer writer2,
org.apache.axiom.om.OMOutputFormat format)
throws javax.xml.stream.XMLStreamException
serializeAndConsume in interface org.apache.axiom.om.OMNodejavax.xml.stream.XMLStreamExceptionpublic org.apache.axiom.om.OMFactory getOMFactory()
getOMFactory in interface org.apache.axiom.om.OMNodeprotected org.apache.axiom.om.OMNode importNode(org.apache.axiom.om.OMNode child)
child -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||