Interface OMMetaFactory

  • All Known Subinterfaces:
    DOMMetaFactory, OMMetaFactorySPI

    public interface OMMetaFactory
    Object model meta factory. This interface encapsulates a particular Axiom implementation and provides instances for plain XML, SOAP 1.1 and SOAP 1.2 object model factories for that implementation. Currently the two OM implementations provided by Axiom are LLOM (linked list) and DOOM (DOM compatible).

    The factories returned by getOMFactory(), getSOAP11Factory() and getSOAP12Factory() MUST be stateless (and thread safe). The implementation MUST return the same instance on every invocation, i.e. instantiate the factory for each OM type only once.

    • Method Detail

      • getOMFactory

        OMFactory getOMFactory()
        Get the OM factory instance for the XML infoset model.
        Returns:
        the OM factory instance
      • getSOAP11Factory

        SOAPFactory getSOAP11Factory()
        Get the OM factory instance for the SOAP 1.1 infoset model.
        Returns:
        the OM factory instance
      • getSOAP12Factory

        SOAPFactory getSOAP12Factory()
        Get the OM factory instance for the SOAP 1.2 infoset model.
        Returns:
        the OM factory instance