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(javax.xml.stream.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(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
void |
internalSerializeAndConsume(javax.xml.stream.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, serializeAndConsume
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
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(javax.xml.stream.XMLStreamWriter writer, boolean cache) throws javax.xml.stream.XMLStreamException
OMSerializable.serialize(XMLStreamWriter, boolean)
instead.writer
- cache
- indicates if caching should be enabledjavax.xml.stream.XMLStreamException
void internalSerialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.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-2013 The Apache Software Foundation. All Rights Reserved.