Uses of Interface
org.apache.axiom.om.OMNamespace
Packages that use OMNamespace
Package
Description
Contains core interfaces of the Axiom API.
-
Uses of OMNamespace in org.apache.axiom.om
Methods in org.apache.axiom.om that return OMNamespaceModifier and TypeMethodDescriptionOMFactory.createOMNamespace
(String uri, String prefix) Create anOMNamespace
instance or retrieve an existing one if the factory supports pooling.OMElement.declareDefaultNamespace
(String uri) Add a namespace declaration for the default namespace to this element.OMElement.declareNamespace
(String uri, String prefix) Add a namespace declaration for the given namespace URI to this element, optionally generating a prefix for that namespace.OMElement.declareNamespace
(OMNamespace namespace) Declares a namespace with the element as its scope.OMElement.findNamespace
(String uri, String prefix) Finds a namespace with the given uri and prefix, in the scope of the hierarchy.OMElement.findNamespaceURI
(String prefix) Checks for a namespace in the context of this element with the given prefix and returns the relevant namespace object, if available.OMElement.getDefaultNamespace()
Get the default namespace in scope on this element.OMNamedInformationItem.getNamespace()
Get the namespace this information item is part of.OMText.getNamespace()
Deprecated.This API is going away.Methods in org.apache.axiom.om that return types with arguments of type OMNamespaceModifier and TypeMethodDescriptionOMElement.getAllDeclaredNamespaces()
Returns an iterator for all of the namespaces declared on this element.OMElement.getNamespacesInScope()
Get an iterator that returns all namespaces in scope for this element.Methods in org.apache.axiom.om with parameters of type OMNamespaceModifier and TypeMethodDescriptionOMElement.addAttribute
(String localName, String value, OMNamespace ns) Adds an attribute to this element.OMFactory.createOMAttribute
(String localName, OMNamespace ns, String value) Create an attribute with the given name and value.OMFactory.createOMElement
(String localName, OMNamespace ns) Create an element with the given name.OMFactory.createOMElement
(String localName, OMNamespace ns, OMContainer parent) Create an element with the given name and parent.OMFactory.createOMElement
(OMDataSource source, String localName, OMNamespace ns) Create a sourced element with a known local name and namespace URI.OMElement.declareNamespace
(OMNamespace namespace) Declares a namespace with the element as its scope.void
OMElement.setNamespace
(OMNamespace namespace) Set the namespace for this element.void
OMNamedInformationItem.setNamespace
(OMNamespace namespace, boolean declare) Set the namespace for this information item.void
OMElement.setNamespaceWithNoFindInCurrentScope
(OMNamespace namespace) Deprecated.void
OMAttribute.setOMNamespace
(OMNamespace omNamespace) Deprecated. -
Uses of OMNamespace in org.apache.axiom.soap
Methods in org.apache.axiom.soap that return OMNamespaceModifier and TypeMethodDescriptionSOAPBody.getFirstElementNS()
Retrieves the OMNamespace of the first element in the body.SOAPFactory.getNamespace()
Get the envelope namespace for the SOAP version used by this factory.SOAPEnvelope.getSOAPBodyFirstElementNS()
Retrieves the OMNamespace of the first element in the body.Methods in org.apache.axiom.soap with parameters of type OMNamespaceModifier and TypeMethodDescriptionSOAPHeader.addHeaderBlock
(String localName, OMNamespace ns) Creates a newSOAPHeaderBlock
object initialized with the specified name and adds it to thisSOAPHeader
object.SOAPFactory.createSOAPEnvelope
(OMNamespace ns) Create a SOAP envelope with the given namespace.SOAPFactory.createSOAPHeaderBlock
(String localName, OMNamespace ns) SOAPFactory.createSOAPHeaderBlock
(String localName, OMNamespace ns, OMDataSource source) Create aSOAPHeaderBlock
from anOMDataSource
with a known local name and namespace URI.SOAPFactory.createSOAPHeaderBlock
(String localName, OMNamespace ns, SOAPHeader parent)