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, serializeAndConsumebuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumevoid 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–2016 The Apache Software Foundation. All rights reserved.