|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OMNodeEx
Interface OMNodeEx
Internal Implementation detail. Adding special interface to stop folks from accidently using OMNode. Please use at your own risk. May corrupt the data integrity.
Field Summary |
---|
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 |
Method Summary | |
---|---|
OMNode |
getNextOMSiblingIfAvailable()
Get the next sibling if it is available. |
void |
internalSerialize(XMLStreamWriter writer)
Deprecated. This method will be removed in a future version of Axiom. It is only here to maintain backward compatibility with projects using this method despite the fact that it is marked as internal. |
void |
internalSerialize(XMLStreamWriter writer,
boolean cache)
Serializes the node. |
void |
internalSerializeAndConsume(XMLStreamWriter writer)
Deprecated. This method will be removed in a future version of Axiom. It is only here to maintain backward compatibility with projects using this method despite the fact that it is marked as internal. |
void |
setComplete(boolean state)
|
void |
setNextOMSibling(OMNode node)
|
void |
setParent(OMContainer element)
|
void |
setPreviousOMSibling(OMNode previousSibling)
|
void |
setType(int nodeType)
|
Methods inherited from interface org.apache.axiom.om.OMNode |
---|
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Methods inherited from interface org.apache.axiom.om.OMSerializable |
---|
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume |
Method Detail |
---|
void setNextOMSibling(OMNode node)
void setPreviousOMSibling(OMNode previousSibling)
void setParent(OMContainer element)
void setComplete(boolean state)
void setType(int nodeType) throws OMException
OMException
void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializable.serialize(XMLStreamWriter, boolean)
instead.
writer
- cache
- indicates if caching should be enabled
XMLStreamException
void internalSerialize(XMLStreamWriter writer) throws XMLStreamException
XMLStreamException
void internalSerializeAndConsume(XMLStreamWriter writer) throws XMLStreamException
XMLStreamException
OMNode getNextOMSiblingIfAvailable()
OMSerializable.isComplete()
may return false
when called on the sibling.
In contrast to OMNode.getNextOMSibling()
, this method will never modify
the state of the underlying parser.
null
if the node has no next sibling or
the builder has not yet started to build the next sibling
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |