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) |
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
build, close, isComplete, serialize, serialize, serializeAndConsume
clone, getOMFactory
void setNextOMSibling(OMNode node)
void setPreviousOMSibling(OMNode previousSibling)
void setParent(OMContainer element)
void setComplete(boolean state)
void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializable.serialize(XMLStreamWriter, boolean)
instead.writer
- cache
- indicates if caching should be enabledXMLStreamException
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 siblingCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.