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 anOMNamespaceinstance or retrieve an existing one if the factory supports pooling.OMElement.declareDefaultNamespace(String uri) This will declare a default namespace for this element explicitlyOMElement.declareNamespace(String uri, String prefix) Creates a namespace in the current element scope.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()This will retrieve the default namespace of this element, if available.OMAttribute.getNamespace()OMElement.getNamespace()Get the namespace this element is part of.OMText.getNamespace()Deprecated.This API is going away.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) OMFactory.createOMElement(String localName, OMNamespace ns) Create an element with the given name.OMFactory.createOMElement(String localName, OMNamespace ns, OMContainer parent) OMFactory.createOMElement(String localName, OMNamespace ns, OMContainer parent, OMXMLParserWrapper builder) OMFactory.createOMElement(OMDataSource source, String localName, OMNamespace ns) Construct element with arbitrary data source.OMElement.declareNamespace(OMNamespace namespace) Declares a namespace with the element as its scope.voidOMElement.setNamespace(OMNamespace namespace) Sets the Namespace.voidOMElement.setNamespaceWithNoFindInCurrentScope(OMNamespace namespace) This will not search the namespace in the scope nor will declare in the current element, as in setNamespace(OMNamespace).voidOMAttribute.setOMNamespace(OMNamespace omNamespace) -
Uses of OMNamespace in org.apache.axiom.om.impl
Classes in org.apache.axiom.om.impl that implement OMNamespace -
Uses of OMNamespace in org.apache.axiom.om.impl.util
Methods in org.apache.axiom.om.impl.util with parameters of type OMNamespaceModifier and TypeMethodDescriptionstatic voidOMSerializerUtil.serializeNamespace(OMNamespace namespace, XMLStreamWriter writer) Deprecated.Use serializeStartpart instead -
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()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 newSOAPHeaderBlockobject initialized with the specified name and adds it to thisSOAPHeaderobject.SOAPFactory.createSOAPEnvelope(OMNamespace ns) SOAPFactory.createSOAPHeaderBlock(String localName, OMNamespace ns) SOAPFactory.createSOAPHeaderBlock(String localName, OMNamespace ns, OMDataSource ds) Create SOAPHeaderBlock that has an OMDataSourceSOAPFactory.createSOAPHeaderBlock(String localName, OMNamespace ns, SOAPHeader parent) SOAPFactory.createSOAPHeaderBlock(String localName, OMNamespace ns, SOAPHeader parent, OMXMLParserWrapper builder) -
Uses of OMNamespace in org.apache.axiom.soap.impl.builder
Methods in org.apache.axiom.soap.impl.builder that return OMNamespace