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
Method Summary
 OMNamespace addNamespaceDeclaration(String uri, String prefix)
          Adds a namespace declaration without doing any additional checks.
Methods inherited from interface
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
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, setLocalName
Methods inherited from interface
getNextOMSiblingIfAvailable, internalSerialize, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling
Methods inherited from interface
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore
Methods inherited from interface
addChild, discarded, setComplete
Methods inherited from interface
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren
Methods inherited from interface
build, close, isComplete, serialize, serialize, serializeAndConsume
Methods inherited from interface
clone, getOMFactory

Method Detail


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.

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

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