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

Packages that use OMElement
Package
Description
org.apache.axiom.om
Contains core interfaces of the Axiom API.
org.apache.axiom.om.ds.custombuilder
org.apache.axiom.om.util
org.apache.axiom.om.util.jaxb
org.apache.axiom.om.xpath
org.apache.axiom.soap

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

  Subinterfaces of OMElement in org.apache.axiom.om
  Modifier and Type
  Interface
  Description
  `interface`
  `OMSourcedElement`
  Element whose data is backed by an arbitrary Java object.
  Methods in org.apache.axiom.om that return OMElement
  Modifier and Type
  Method
  Description
  `OMElement`
  OMElement.`cloneOMElement()`
  Clones this element and its descendants using default options.
  `OMElement`
  OMFactory.`createOMElement(String localName, String namespaceURI, String prefix)`
  Create an element with the given name.
  `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.
  `OMElement`
  OMFactory.`createOMElement(QName qname)`
  Create an element with the given `QName`.
  `OMElement`
  OMFactory.`createOMElement(QName qname, OMContainer parent)`
  Create an element with the given `QName` and parent.
  `OMElement`
  OMXMLParserWrapper.`getDocumentElement()`
  Get the document element, i.e. the root element of the document.
  `OMElement`
  OMXMLParserWrapper.`getDocumentElement(boolean discardDocument)`
  Get the document element, optionally discarding the document.
  `OMElement`
  OMContainer.`getFirstChildWithName(QName qname)`
  Returns the first child in document order that matches the given QName.
  `OMElement`
  OMElement.`getFirstElement()`
  Returns the first child element of the element.
  `OMElement`
  OMDocument.`getOMDocumentElement()`
  Get the document element.
  `OMElement`
  OMAttribute.`getOwner()`
  Returns the owner element of this attribute
  Methods in org.apache.axiom.om that return types with arguments of type OMElement
  Modifier and Type
  Method
  Description
  `Iterator<OMElement>`
  OMElement.`getChildElements()`
  Returns a filtered list of children - just the elements.
  `Iterator<OMElement>`
  OMContainer.`getChildrenWithLocalName(String localName)`
  Returns an iterator for child nodes matching the local name.
  `Iterator<OMElement>`
  OMContainer.`getChildrenWithName(QName elementQName)`
  Returns an iterator for child nodes matching the given QName.
  `Iterator<OMElement>`
  OMContainer.`getChildrenWithNamespaceURI(String uri)`
  Returns an iterator for child nodes matching the namespace uri.
  Methods in org.apache.axiom.om with parameters of type OMElement
  Modifier and Type
  Method
  Description
  `void`
  OMDocument.`setOMDocumentElement(OMElement documentElement)`
  Set the document element of the XML document.

- ## Uses of OMElement in org.apache.axiom.om.ds.custombuilder

  Methods in org.apache.axiom.om.ds.custombuilder with parameters of type OMElement
  Modifier and Type
  Method
  Description
  `OMDataSource`
  BlobOMDataSourceCustomBuilder.`create(OMElement element)`
  `OMDataSource`
  CustomBuilder.`create(OMElement element)`
  Create an `OMDataSource` from the given `OMElement`.

- ## Uses of OMElement in org.apache.axiom.om.util

  Methods in org.apache.axiom.om.util that return OMElement
  Modifier and Type
  Method
  Description
  `static OMElement`
  AXIOMUtil.`stringToOM(String xmlFragment)`
  Create an OMElement from an XML fragment given as a string.
  `static OMElement`
  AXIOMUtil.`stringToOM(OMFactory omFactory, String xmlFragment)`
  Create an OMElement from an XML fragment given as a string.
  Methods in org.apache.axiom.om.util with parameters of type OMElement
  Modifier and Type
  Method
  Description
  `Collection<OMAttribute>`
  DigestGenerator.`getAttributesWithoutNS(OMElement element)`
  Gets the collection of attributes which are none namespace declarations for an OMElement
  `byte[]`
  DigestGenerator.`getDigest(OMElement element, String digestAlgorithm)`
  This method is an overloaded method for the digest generation for OMElement
  `String`
  DigestGenerator.`getExpandedName(OMElement element)`
  This method is an overloaded method for getting the expanded name namespaceURI followed by the local name for OMElement

- ## Uses of OMElement in org.apache.axiom.om.util.jaxb

  Methods in org.apache.axiom.om.util.jaxb with parameters of type OMElement
  Modifier and Type
  Method
  Description
  `static Object`
  JAXBUtils.`unmarshal(JAXBContext context, OMElement element, boolean cache)`
  Deprecated.
  Use `JAXBUtils.unmarshal(OMContainer, JAXBContext, UnmarshallerConfigurator, boolean)` instead.

- ## Uses of OMElement in org.apache.axiom.om.xpath

  Methods in org.apache.axiom.om.xpath with parameters of type OMElement
  Modifier and Type
  Method
  Description
  `void`
  AXIOMXPath.`addNamespaces(OMElement element)`
  Add the namespace declarations of a given `OMElement` to the namespace context of an XPath expression.
  Constructors in org.apache.axiom.om.xpath with parameters of type OMElement
  Modifier
  Constructor
  Description
  ``
  `AXIOMXPath(OMElement element, String xpathExpr)`
  Construct an XPath expression from a given string and initialize its namespace context based on a given element.

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

  Subinterfaces of OMElement in org.apache.axiom.soap
  Modifier and Type
  Interface
  Description
  `interface`
  `SOAPBody`
  An object that represents the contents of the SOAP body element in a SOAP message.
  `interface`
  `SOAPEnvelope`
  Interface SOAPEnvelope
  `interface`
  `SOAPFault`
  An element in the `SOAPBody` object that contains error and/or status information.
  `interface`
  `SOAPFaultClassifier`
  Common superinterface for `SOAPFaultCode` and `SOAPFaultSubCode`.
  `interface`
  `SOAPFaultCode`
  `interface`
  `SOAPFaultDetail`
  The Detail element information item is intended for carrying application specific error information related to the SOAP Body .
  `interface`
  `SOAPFaultNode`
  `interface`
  `SOAPFaultReason`
  `interface`
  `SOAPFaultRole`
  The Role element information item identifies the role the node was operating in at the point the fault occurred.
  `interface`
  `SOAPFaultSubCode`
  `interface`
  `SOAPFaultText`
  `interface`
  `SOAPFaultValue`
  `interface`
  `SOAPHeader`
  Interface SOAPHeader
  `interface`
  `SOAPHeaderBlock`
  An object representing the contents in the SOAP header part of the SOAP envelope.
  Methods in org.apache.axiom.soap that return types with arguments of type OMElement
  Modifier and Type
  Method
  Description
  `Iterator<OMElement>`
  SOAPFaultDetail.`getAllDetailEntries()`
  Methods in org.apache.axiom.soap with parameters of type OMElement
  Modifier and Type
  Method
  Description
  `void`
  SOAPFaultDetail.`addDetailEntry(OMElement detailElement)`
  `SOAPHeaderBlock`
  SOAPFactory.`createSOAPHeaderBlock(OMElement element)`
  Create a new `SOAPHeaderBlock` with the same content as the given element.