public interface XMLPartFactory
FactoryRegistry| Modifier and Type | Method and Description |
|---|---|
XMLPart |
create(Protocol protocol)
create empty XMLPart of the specified protocol
|
XMLPart |
createFrom(org.apache.axiom.om.OMElement omElement,
Protocol protocol)
create XMLPart from OMElement
|
XMLPart |
createFrom(SOAPEnvelope soapEnvelope)
create XMLPart from SOAPEnvelope
|
XMLPart |
createFrom(XMLStreamReader reader,
Protocol protocol)
create XMLPart from XMLStreamReader
|
XMLPart createFrom(XMLStreamReader reader, Protocol protocol) throws XMLStreamException, WebServiceException
reader - XMLStreamReaderprotocol - (if null, the soap protocol is inferred from the namespace)MessageStreamExceptionXMLStreamExceptionWebServiceExceptionXMLPart createFrom(org.apache.axiom.om.OMElement omElement, Protocol protocol) throws XMLStreamException, WebServiceException
omElement - OMElementprotocol - (if null, the soap protocol is inferred from the namespace)WebServiceExceptionXMLStreamExceptionXMLPart createFrom(SOAPEnvelope soapEnvelope) throws XMLStreamException, WebServiceException
soapEnvelope - SOAPEnvelopeWebServiceExceptionXMLStreamExceptionXMLPart create(Protocol protocol) throws XMLStreamException, WebServiceException
protocol - WebServiceExceptionXMLStreamExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.