public interface OMContainerEx extends OMContainer
Modifier and Type | Method and Description |
---|---|
OMNode |
getFirstOMChildIfAvailable()
Get the first child if it is available.
|
void |
setComplete(boolean state) |
void |
setFirstChild(OMNode omNode)
forcefully set the first element in this parent element
|
void |
setLastChild(OMNode omNode)
forcefully set the last element in this parent element
|
addChild, buildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
build, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsume
void setComplete(boolean state)
void setFirstChild(OMNode omNode)
omNode
- void setLastChild(OMNode omNode)
omNode
- OMNode getFirstOMChildIfAvailable()
OMSerializable.isComplete()
may return false
when called on the child.
In contrast to OMContainer.getFirstOMChild()
, this method will never modify
the state of the underlying parser.null
if the container has no children or
the builder has not yet started to build the first childCopyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.