## 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.ds.custombuilder |
  org.apache.axiom.om.impl.builder |
  org.apache.axiom.om.util |
  org.apache.axiom.soap |
  org.apache.axiom.soap.impl.builder |

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

    Methods in org.apache.axiom.om that return OMFactory
    Modifier and Type | Method and Description
    --- | ---
    `OMFactory` | OMMetaFactory.`getOMFactory()` Get the OM factory instance for the XML infoset model.
    `OMFactory` | OMInformationItem.`getOMFactory()` Get the `OMFactory` corresponding to the type of this information item.
    `static OMFactory` | OMAbstractFactory.`getOMFactory()` Get the default OM factory instance.

    Methods in org.apache.axiom.om with parameters of type OMFactory
    Modifier and Type | Method and 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, 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.
    `OMXMLParserWrapper` | OMMetaFactory.`createOMBuilder(OMFactory omFactory, Node node, boolean expandEntityReferences)` Create an object model builder for plain XML that gets its input from a DOM tree.
    `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.
    `OMXMLParserWrapper` | OMMetaFactory.`createOMBuilder(OMFactory omFactory, SAXSource source, boolean expandEntityReferences)` Create an object model builder for plain XML that gets its input from a `SAXSource`.
    `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.
    `OMXMLParserWrapper` | OMMetaFactory.`createOMBuilder(OMFactory omFactory, Source source)` Create an object model builder for plain XML that gets its input from a `Source`.
    `static OMXMLParserWrapper` | OMXMLBuilderFactory.`createOMBuilder(OMFactory omFactory, StAXParserConfiguration configuration, Attachments attachments)` Create an XOP aware model builder from the provided `Attachments` object using a specified object model factory and with a given parser configuration.
    `OMXMLParserWrapper` | OMMetaFactory.`createOMBuilder(OMFactory omFactory, StAXParserConfiguration configuration, InputSource is)` Create an object model builder for plain XML that reads a document from the provided input source.
    `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.
    `OMXMLParserWrapper` | OMMetaFactory.`createOMBuilder(StAXParserConfiguration configuration, OMFactory omFactory, InputSource rootPart, MimePartProvider mimePartProvider)` Create an XOP aware object model builder.
    `static OMXMLParserWrapper` | OMXMLBuilderFactory.`createStAXOMBuilder(OMFactory omFactory, javax.xml.stream.XMLStreamReader parser)` Create an object model builder that pulls events from a StAX stream reader using a specified object model factory.
    `OMXMLParserWrapper` | OMMetaFactory.`createStAXOMBuilder(OMFactory omFactory, javax.xml.stream.XMLStreamReader parser)` Create an object model builder for plain XML that pulls events from a StAX stream reader.

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

    Methods in org.apache.axiom.om.ds.custombuilder with parameters of type OMFactory
    Modifier and Type | Method and Description
    --- | ---
    `OMElement` | ByteArrayCustomBuilder.`create(String namespace, String localPart, OMContainer parent, javax.xml.stream.XMLStreamReader reader, OMFactory factory)`

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

    Subinterfaces of OMFactory in org.apache.axiom.om.impl.builder
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `OMFactoryEx` Interface that is used internally by Axiom and that should not be considered being part of the public API.

    Methods in org.apache.axiom.om.impl.builder with parameters of type OMFactory
    Modifier and Type | Method and Description
    --- | ---
    `OMElement` | CustomBuilder.`create(String namespace, String localPart, OMContainer parent, javax.xml.stream.XMLStreamReader reader, OMFactory factory)` Create an OMElement for this whole subtree.
    `protected OMNode` | StAXOMBuilder.`createWithCustomBuilder(CustomBuilder customBuilder, OMFactory factory)`
    `void` | StAXBuilder.`setOMBuilderFactory(OMFactory ombuilderFactory)` Method setOMBuilderFactory.

    Constructors in org.apache.axiom.om.impl.builder with parameters of type OMFactory
    Constructor and Description
    `StAXBuilder(OMFactory omFactory, javax.xml.stream.XMLStreamReader parser)` Deprecated.
    `StAXBuilder(OMFactory omFactory, javax.xml.stream.XMLStreamReader parser, Detachable detachable, Closeable closeable)` For internal use only.
    `StAXBuilder(OMFactory omFactory, javax.xml.stream.XMLStreamReader parser, String encoding)` Deprecated.
    `StAXBuilder(OMFactory omFactory, javax.xml.stream.XMLStreamReader parser, String encoding, Detachable detachable, Closeable closeable)` For internal use only.
    `StAXOMBuilder(OMFactory ombuilderFactory, javax.xml.stream.XMLStreamReader parser)` Deprecated. Please use the `OMXMLBuilderFactory` API.
    `StAXOMBuilder(OMFactory ombuilderFactory, javax.xml.stream.XMLStreamReader parser, Detachable detachable, Closeable closeable)` For internal use only.
    `StAXOMBuilder(OMFactory factory, javax.xml.stream.XMLStreamReader parser, OMElement element)` Deprecated. Please use the `OMXMLBuilderFactory` API.
    `StAXOMBuilder(OMFactory factory, javax.xml.stream.XMLStreamReader parser, OMElement element, String characterEncoding)` For internal use only.
    `XOPAwareStAXOMBuilder(OMFactory ombuilderFactory, javax.xml.stream.XMLStreamReader parser, Attachments attachments)` Deprecated. Please use the `OMXMLBuilderFactory` API.
    `XOPAwareStAXOMBuilder(OMFactory omFactory, javax.xml.stream.XMLStreamReader reader, MimePartProvider mimePartProvider, Detachable detachable, Closeable closeable)` For internal use only.
    `XOPAwareStAXOMBuilder(OMFactory factory, javax.xml.stream.XMLStreamReader parser, OMElement element, Attachments attachments)` Deprecated. Please use the `OMXMLBuilderFactory` API.

  - ### 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 and Description
    --- | ---
    `static OMElement` | ElementHelper.`importOMElement(OMElement omElement, OMFactory omFactory)` Some times two OMElements needs to be added to the same object tree.
    `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 and Description
    --- | ---
    `interface` | `SOAPFactory`

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

    Subinterfaces of OMFactory in org.apache.axiom.soap.impl.builder
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `SOAP12FactoryEx` Interface that is used internally by Axiom and that should not be considered being part of the public API.
    `interface` | `SOAPFactoryEx` Interface that is used internally by Axiom and that should not be considered being part of the public API.

Copyright © The Apache Software Foundation. All Rights Reserved.