public interface OMSourcedElement extends OMElement
OMDataSource (or OMDataSourceExt) interface.
An OMSourcedElement can be in one of two states:
Here are the steps to place an arbitrary java object into the OM tree:
OMDataSourceExt implementation that provides access to your Java
object.OMFactory.createOMElement(OMDataSource, String, OMNamespace) to create
the OMSourcedElement.CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE| Modifier and Type | Method and Description |
|---|---|
OMDataSource |
getDataSource() |
boolean |
isExpanded() |
OMDataSource |
setDataSource(OMDataSource dataSource)
Replace an existing OMDataSource with a new one.
|
addAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getLocalName, getNamespace, getNamespaceURI, getQName, getText, getTextAsQName, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setFirstChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumebuildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforeaddChild, buildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCachingbuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumeboolean isExpanded()
OMDataSource getDataSource()
OMDataSource setDataSource(OMDataSource dataSource)
dataSource - new OMDataSourceCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.