Class AbstractOMMetaFactory

    • Constructor Detail

      • AbstractOMMetaFactory

        public AbstractOMMetaFactory()
    • Method Detail

      • createStAXOMBuilder

        public OMXMLParserWrapper createStAXOMBuilder​(OMFactory omFactory,
                                                      XMLStreamReader parser)
        Description copied from interface: OMMetaFactory
        Create an object model builder for plain XML that pulls events from a StAX stream reader.
        Specified by:
        createStAXOMBuilder in interface OMMetaFactory
        Parameters:
        omFactory - The object model factory to use. This factory must be obtained from the same OMMetaFactory instance as the one used to invoke this method. In general the factory will be retrieved from OMMetaFactory.getOMFactory()), but in some cases it may be necessary to pass a SOAPFactory instance, although this method will never produce a SOAP infoset.
        parser - the stream reader to read the XML data from
        Returns:
        the builder
      • createOMBuilder

        public OMXMLParserWrapper createOMBuilder​(OMFactory omFactory,
                                                  StAXParserConfiguration configuration,
                                                  InputSource is)
        Description copied from interface: OMMetaFactory
        Create an object model builder for plain XML that reads a document from the provided input source.
        Specified by:
        createOMBuilder in interface OMMetaFactory
        Parameters:
        omFactory - The object model factory to use. This factory must be obtained from the same OMMetaFactory instance as the one used to invoke this method. In general the factory will be retrieved from OMMetaFactory.getOMFactory()), but in some cases it may be necessary to pass a SOAPFactory instance, although this method will never produce a SOAP infoset.
        configuration - the parser configuration to use
        is - the source of the XML document
        Returns:
        the builder
      • createStAXSOAPModelBuilder

        public OMXMLParserWrapper createStAXSOAPModelBuilder​(XMLStreamReader parser)
        Description copied from interface: OMMetaFactory
        Create an object model builder for SOAP that pulls events from a StAX stream reader. The implementation will select the appropriate SOAPFactory based on the namespace URI of the SOAP envelope.
        Specified by:
        createStAXSOAPModelBuilder in interface OMMetaFactory
        Parameters:
        parser - the stream reader to read the SOAP message from
        Returns:
        the builder