public interface OMNodeEx extends OMNode
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE| Modifier and Type | Method and Description |
|---|---|
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) |
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumebuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumevoid setNextOMSibling(OMNode node)
void setPreviousOMSibling(OMNode previousSibling)
void setParent(OMContainer element)
void setComplete(boolean state)
void setType(int nodeType)
throws OMException
OMExceptionvoid internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializable.serialize(XMLStreamWriter, boolean) instead.writer - cache - indicates if caching should be enabledXMLStreamExceptionvoid internalSerialize(XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionvoid internalSerializeAndConsume(XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionOMNode 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 siblingCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.