## Uses of Interface
org.apache.axiom.om.OMNamespace

- Packages that use OMNamespace
  Package | Description
  --- | ---
  org.apache.axiom.om | Contains core interfaces of the Axiom API.
  org.apache.axiom.om.impl |
  org.apache.axiom.om.impl.util |
  org.apache.axiom.soap |
  org.apache.axiom.soap.impl.builder |

- - ### Uses of OMNamespace in org.apache.axiom.om

    Methods in org.apache.axiom.om that return OMNamespace
    Modifier and Type | Method and Description
    --- | ---
    `OMNamespace` | OMFactory.`createOMNamespace(String uri, String prefix)` Create an `OMNamespace` instance or retrieve an existing one if the factory supports pooling.
    `OMNamespace` | OMElement.`declareDefaultNamespace(String uri)` Add a namespace declaration for the default namespace to this element.
    `OMNamespace` | OMElement.`declareNamespace(OMNamespace namespace)` Declares a namespace with the element as its scope.
    `OMNamespace` | 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.
    `OMNamespace` | OMElement.`findNamespace(String uri, String prefix)` Finds a namespace with the given uri and prefix, in the scope of the hierarchy.
    `OMNamespace` | 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.
    `OMNamespace` | OMElement.`getDefaultNamespace()` Get the default namespace in scope on this element.
    `OMNamespace` | OMText.`getNamespace()` Deprecated. This API is going away. Please use `OMElement.getTextAsQName()` instead.
    `OMNamespace` | OMNamedInformationItem.`getNamespace()` Get the namespace this information item is part of.

    Methods in org.apache.axiom.om with parameters of type OMNamespace
    Modifier and Type | Method and Description
    --- | ---
    `OMAttribute` | OMElement.`addAttribute(String localName, String value, OMNamespace ns)` Adds an attribute to this element.
    `OMAttribute` | OMFactory.`createOMAttribute(String localName, OMNamespace ns, String value)` Create an attribute with the given name and value.
    `OMSourcedElement` | OMFactory.`createOMElement(OMDataSource source, String localName, OMNamespace ns)` Create a sourced element with a known local name and namespace URI.
    `OMElement` | OMFactory.`createOMElement(String localName, OMNamespace ns)` Create an element with the given name.
    `OMElement` | OMFactory.`createOMElement(String localName, OMNamespace ns, OMContainer parent)` Create an element with the given name and parent.
    `OMNamespace` | 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. Use `OMNamedInformationItem.setNamespace(OMNamespace, boolean)` with `declare` set to `false`.
    `void` | OMAttribute.`setOMNamespace(OMNamespace omNamespace)` Deprecated. Use `OMNamedInformationItem.setNamespace(OMNamespace, boolean)` instead.

  - ### Uses of OMNamespace in org.apache.axiom.om.impl

    Methods in org.apache.axiom.om.impl that return OMNamespace
    Modifier and Type | Method and Description
    --- | ---
    `OMNamespace` | OMElementEx.`addNamespaceDeclaration(String uri, String prefix)` Adds a namespace declaration without doing any additional checks.

  - ### Uses of OMNamespace in org.apache.axiom.om.impl.util

    Methods in org.apache.axiom.om.impl.util with parameters of type OMNamespace
    Modifier and Type | Method and Description
    --- | ---
    `static void` | OMSerializerUtil.`serializeNamespace(OMNamespace namespace, javax.xml.stream.XMLStreamWriter writer)` Deprecated. Use serializeStartpart instead

  - ### Uses of OMNamespace in org.apache.axiom.soap

    Methods in org.apache.axiom.soap that return OMNamespace
    Modifier and Type | Method and Description
    --- | ---
    `OMNamespace` | SOAPBody.`getFirstElementNS()` Retrieves the OMNamespace of the first element in the body.
    `OMNamespace` | SOAPFactory.`getNamespace()` Get the envelope namespace for the SOAP version used by this factory.
    `OMNamespace` | SOAPEnvelope.`getSOAPBodyFirstElementNS()` Retrieves the OMNamespace of the first element in the body.

    Methods in org.apache.axiom.soap with parameters of type OMNamespace
    Modifier and Type | Method and Description
    --- | ---
    `SOAPHeaderBlock` | SOAPHeader.`addHeaderBlock(String localName, OMNamespace ns)` Creates a new `SOAPHeaderBlock` object initialized with the specified name and adds it to this `SOAPHeader` object.
    `SOAPEnvelope` | SOAPFactory.`createSOAPEnvelope(OMNamespace ns)` Create a SOAP envelope with the given namespace.
    `SOAPHeaderBlock` | SOAPFactory.`createSOAPHeaderBlock(String localName, OMNamespace ns)`
    `SOAPHeaderBlock` | SOAPFactory.`createSOAPHeaderBlock(String localName, OMNamespace ns, OMDataSource source)` Create a `SOAPHeaderBlock` from an `OMDataSource` with a known local name and namespace URI.
    `SOAPHeaderBlock` | SOAPFactory.`createSOAPHeaderBlock(String localName, OMNamespace ns, SOAPHeader parent)`

  - ### Uses of OMNamespace in org.apache.axiom.soap.impl.builder

    Methods in org.apache.axiom.soap.impl.builder that return OMNamespace
    Modifier and Type | Method and Description
    --- | ---
    `OMNamespace` | StAXSOAPModelBuilder.`getEnvelopeNamespace()`

Copyright © The Apache Software Foundation. All Rights Reserved.