|
|||||||||||
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
Class OMNodeImpl
Field Summary | |
org.apache.axiom.om.OMXMLParserWrapper |
builder
Field builder |
protected boolean |
done
Field done |
protected org.apache.axiom.om.OMFactory |
factory
|
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 |
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(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. |
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 |
Methods inherited from interface org.apache.axiom.om.OMNode |
discard |
Field Detail |
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 thispublic 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 thisMethod Detail |
public org.apache.axiom.om.OMContainer getParent()
getParent
in interface org.apache.axiom.om.OMNode
org.apache.axiom.om.OMException
public void setParent(org.apache.axiom.om.OMContainer element)
setParent
in interface org.apache.axiom.om.impl.OMNodeEx
element
- public org.apache.axiom.om.OMNode getNextOMSibling() throws org.apache.axiom.om.OMException
getNextOMSibling
in interface org.apache.axiom.om.OMNode
org.apache.axiom.om.OMException
public void setNextOMSibling(org.apache.axiom.om.OMNode node)
setNextOMSibling
in interface org.apache.axiom.om.impl.OMNodeEx
node
- public boolean isComplete()
isComplete
in interface org.apache.axiom.om.OMNode
public void setComplete(boolean state)
setComplete
in interface org.apache.axiom.om.impl.OMNodeEx
state
- public org.apache.axiom.om.OMNode detach() throws org.apache.axiom.om.OMException
detach
in interface org.apache.axiom.om.OMNode
org.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.OMNode
sibling
-
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.OMNode
sibling
-
org.apache.axiom.om.OMException
public int getType()
getType
in interface org.apache.axiom.om.OMNode
setType(int)
setType(int)
public void setType(int nodeType) throws org.apache.axiom.om.OMException
setType
in interface org.apache.axiom.om.impl.OMNodeEx
nodeType
-
org.apache.axiom.om.OMException
public org.apache.axiom.om.OMNode getPreviousOMSibling()
getPreviousOMSibling
in interface org.apache.axiom.om.OMNode
public void setPreviousOMSibling(org.apache.axiom.om.OMNode previousSibling)
setPreviousOMSibling
in interface org.apache.axiom.om.impl.OMNodeEx
previousSibling
- public void build() throws org.apache.axiom.om.OMException
build
in interface org.apache.axiom.om.OMNode
org.apache.axiom.om.OMException
public void buildWithAttachments()
buildWithAttachments
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.OMNode
xmlWriter
-
javax.xml.stream.XMLStreamException
public void serializeAndConsume(javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException
serializeAndConsume
in interface org.apache.axiom.om.OMNode
xmlWriter
-
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.OMNodeEx
writer
-
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.OMNodeEx
writer
-
javax.xml.stream.XMLStreamException
public void serialize(java.io.OutputStream output) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.axiom.om.OMNode
javax.xml.stream.XMLStreamException
public void serialize(java.io.Writer writer) throws javax.xml.stream.XMLStreamException
serialize
in interface org.apache.axiom.om.OMNode
javax.xml.stream.XMLStreamException
public void serializeAndConsume(java.io.OutputStream output) throws javax.xml.stream.XMLStreamException
serializeAndConsume
in interface org.apache.axiom.om.OMNode
javax.xml.stream.XMLStreamException
public void serializeAndConsume(java.io.Writer writer) throws javax.xml.stream.XMLStreamException
serializeAndConsume
in interface org.apache.axiom.om.OMNode
javax.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.OMNode
javax.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.OMNode
javax.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.OMNode
javax.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.OMNode
javax.xml.stream.XMLStreamException
public org.apache.axiom.om.OMFactory getOMFactory()
getOMFactory
in interface org.apache.axiom.om.OMNode
protected 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 |