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)MessageStreamException
XMLStreamException
WebServiceException
XMLPart createFrom(org.apache.axiom.om.OMElement omElement, Protocol protocol) throws XMLStreamException, WebServiceException
omElement
- OMElementprotocol
- (if null, the soap protocol is inferred from the namespace)WebServiceException
XMLStreamException
XMLPart createFrom(SOAPEnvelope soapEnvelope) throws XMLStreamException, WebServiceException
soapEnvelope
- SOAPEnvelopeWebServiceException
XMLStreamException
XMLPart create(Protocol protocol) throws XMLStreamException, WebServiceException
protocol
- WebServiceException
XMLStreamException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.