public class OMXMLBuilderFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static OMXMLParserWrapper |
createOMBuilder(InputStream in)
Create an object model builder that reads a plain XML document from the provided input stream
with the default parser configuration defined by
StAXParserConfiguration.DEFAULT. |
static OMXMLParserWrapper |
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 |
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 |
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 |
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 |
createOMBuilder(Reader in)
Create an object model builder that reads a plain XML document from the provided character
stream with the default parser configuration defined by
StAXParserConfiguration.DEFAULT. |
static OMXMLParserWrapper |
createOMBuilder(StAXParserConfiguration configuration,
InputStream in)
Create an object model builder that reads a plain XML document from the provided input stream
with a given parser configuration.
|
static OMXMLParserWrapper |
createOMBuilder(StAXParserConfiguration configuration,
Reader in)
Create an object model builder that reads a plain XML document from the provided character
stream with a given parser configuration.
|
static OMXMLParserWrapper |
createSOAPModelBuilder(InputStream in,
String encoding)
Create an object model builder for SOAP that reads a message from the provided input stream,
using a given charset encoding.
|
static OMXMLParserWrapper |
createStAXOMBuilder(OMFactory omFactory,
XMLStreamReader parser)
Create an object model builder that pulls events from a StAX stream reader using a specified
object model factory.
|
static OMXMLParserWrapper |
createStAXOMBuilder(XMLStreamReader parser)
Create an object model builder for plain XML that pulls events from a StAX stream reader.
|
public static OMXMLParserWrapper createStAXOMBuilder(XMLStreamReader parser)
parser - the stream reader to read the XML data frompublic static OMXMLParserWrapper createStAXOMBuilder(OMFactory omFactory, XMLStreamReader parser)
omFactory - the object model factory to useparser - the stream reader to read the XML data frompublic static OMXMLParserWrapper createOMBuilder(InputStream in)
StAXParserConfiguration.DEFAULT.in - the input stream representing the XML documentpublic static OMXMLParserWrapper createOMBuilder(StAXParserConfiguration configuration, InputStream in)
configuration - the parser configuration to usein - the input stream representing the XML documentpublic static OMXMLParserWrapper createOMBuilder(OMFactory omFactory, InputStream in)
StAXParserConfiguration.DEFAULT.omFactory - the object model factory to usein - the input stream representing the XML documentpublic static OMXMLParserWrapper createOMBuilder(OMFactory omFactory, StAXParserConfiguration configuration, InputStream in)
omFactory - the object model factory to useconfiguration - the parser configuration to usein - the input stream representing the XML documentpublic static OMXMLParserWrapper createOMBuilder(Reader in)
StAXParserConfiguration.DEFAULT.in - the character stream representing the XML documentpublic static OMXMLParserWrapper createOMBuilder(StAXParserConfiguration configuration, Reader in)
configuration - the parser configuration to usein - the character stream representing the XML documentpublic static OMXMLParserWrapper createOMBuilder(OMFactory omFactory, Reader in)
StAXParserConfiguration.DEFAULT.omFactory - the object model factory to usein - the character stream representing the XML documentpublic static OMXMLParserWrapper createOMBuilder(OMFactory omFactory, StAXParserConfiguration configuration, Reader in)
omFactory - the object model factory to useconfiguration - the parser configuration to usein - the character stream representing the XML documentpublic static OMXMLParserWrapper createSOAPModelBuilder(InputStream in, String encoding)
SOAPFactory
based on the namespace URI of the SOAP envelope. It will configure the underlying parser as
specified by StAXParserConfiguration.SOAP.in - the input stream containing the SOAP messageencoding - the charset encodingCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.