org.apache.axiom.om.impl
Interface OMElementEx

All Superinterfaces:
OMContainer, OMContainerEx, OMElement, OMInformationItem, OMNamedInformationItem, OMNode, OMNodeEx, OMSerializable

public interface OMElementEx
extends OMElement, OMNodeEx, OMContainerEx

Interface that is used internally by Axiom and that should not be considered being part of the public API.


Field Summary
 
Fields inherited from interface org.apache.axiom.om.OMNode
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
 
Method Summary
 OMNamespace addNamespaceDeclaration(String uri, String prefix)
          Adds a namespace declaration without doing any additional checks.
 
Methods inherited from interface org.apache.axiom.om.OMElement
addAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setLineNumber, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTo
 
Methods inherited from interface org.apache.axiom.om.OMNamedInformationItem
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, setLocalName
 
Methods inherited from interface org.apache.axiom.om.impl.OMNodeEx
getNextOMSiblingIfAvailable, internalSerialize, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling
 
Methods inherited from interface org.apache.axiom.om.OMNode
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore
 
Methods inherited from interface org.apache.axiom.om.impl.OMContainerEx
addChild, discarded, setComplete
 
Methods inherited from interface org.apache.axiom.om.OMContainer
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren
 
Methods inherited from interface org.apache.axiom.om.OMSerializable
build, close, isComplete, serialize, serialize, serializeAndConsume
 
Methods inherited from interface org.apache.axiom.om.OMInformationItem
clone, getOMFactory
 

Method Detail

addNamespaceDeclaration

OMNamespace addNamespaceDeclaration(String uri,
                                    String prefix)
Adds a namespace declaration without doing any additional checks. This method is used internally by the builder (which can safely assume that the data received from the parser is well formed with respect to namespaces).

In contrast to OMElement.declareNamespace(String, String) this method can be used to declare the default namespace.

Parameters:
uri - the namespace to declare; must not be null
prefix - the prefix to associate with the given namespace; must not be null
Returns:
the created namespace information item


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.