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

Packages that use OMFactory
Package
Description
org.apache.axiom.om
Contains core interfaces of the Axiom API.
org.apache.axiom.om.util
org.apache.axiom.soap

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

  Methods in org.apache.axiom.om that return OMFactory
  Modifier and Type
  Method
  Description
  `static OMFactory`
  OMAbstractFactory.`getOMFactory()`
  Get the default OM factory instance.
  `OMFactory`
  OMInformationItem.`getOMFactory()`
  Get the `OMFactory` corresponding to the type of this information item.
  `OMFactory`
  OMMetaFactory.`getOMFactory()`
  Get the OM factory instance for the XML infoset model.
  Methods in org.apache.axiom.om with parameters of type OMFactory
  Modifier and Type
  Method
  Description
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, InputStream in)`
  Create an object model builder that reads an XML document from the provided input stream using a specified object model factory and with the default parser configuration defined by `StAXParserConfiguration.DEFAULT`.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, InputStream in, String encoding)`
  Create an object model builder that reads an XML document from the provided input stream using a specified object model factory and with the default parser configuration defined by `StAXParserConfiguration.DEFAULT`.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, Reader in)`
  Create an object model builder that reads an XML document from the provided character stream using a specified object model factory and with the default parser configuration defined by `StAXParserConfiguration.DEFAULT`.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, SAXSource source, boolean expandEntityReferences)`
  Create an object model builder that reads an XML document from the provided `SAXSource` using a specified object model factory.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, Source source)`
  Create an object model builder that reads an XML document from the provided `Source` using a specified object model factory.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, Source rootPart, OMAttachmentAccessor attachmentAccessor)`
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, StAXParserConfiguration configuration, InputStream in)`
  Create an object model builder that reads an XML document from the provided input stream using a specified object model factory and with a given parser configuration.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, StAXParserConfiguration configuration, InputStream in, String encoding)`
  Create an object model builder that reads an XML document from the provided input stream using a specified object model factory and with a given parser configuration.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, StAXParserConfiguration configuration, Reader in)`
  Create an object model builder that reads an XML document from the provided character stream using a specified object model factory and with a given parser configuration.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, StAXParserConfiguration configuration, MultipartBody message)`
  Create an XOP aware model builder from the provided `MultipartBody` object using a specified object model factory and with a given parser configuration.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, Node node, boolean expandEntityReferences)`
  Create an object model builder that reads an XML document from the provided DOM tree using a specified object model factory.
  `static OMXMLParserWrapper`
  OMXMLBuilderFactory.`createStAXOMBuilder(OMFactory omFactory, XMLStreamReader parser)`
  Create an object model builder that pulls events from a StAX stream reader using a specified object model factory.

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

  Methods in org.apache.axiom.om.util with parameters of type OMFactory
  Modifier and Type
  Method
  Description
  `static OMElement`
  AXIOMUtil.`stringToOM(OMFactory omFactory, String xmlFragment)`
  Create an OMElement from an XML fragment given as a string.

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

  Subinterfaces of OMFactory in org.apache.axiom.soap
  Modifier and Type
  Interface
  Description
  `interface`
  `SOAPFactory`