public class XMLPartFactoryImpl extends Object implements XMLPartFactory
Constructor and Description |
---|
XMLPartFactoryImpl()
Default Constructor required for Factory
|
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
|
public XMLPartFactoryImpl()
public XMLPart createFrom(XMLStreamReader reader, Protocol protocol) throws XMLStreamException, WebServiceException
XMLPartFactory
createFrom
in interface XMLPartFactory
reader
- XMLStreamReaderprotocol
- (if null, the soap protocol is inferred from the namespace)XMLStreamException
WebServiceException
public XMLPart createFrom(org.apache.axiom.om.OMElement omElement, Protocol protocol) throws XMLStreamException, WebServiceException
XMLPartFactory
createFrom
in interface XMLPartFactory
omElement
- OMElementprotocol
- (if null, the soap protocol is inferred from the namespace)WebServiceException
XMLStreamException
public XMLPart create(Protocol protocol) throws XMLStreamException, WebServiceException
XMLPartFactory
create
in interface XMLPartFactory
WebServiceException
XMLStreamException
public XMLPart createFrom(SOAPEnvelope soapEnvelope) throws XMLStreamException, WebServiceException
XMLPartFactory
createFrom
in interface XMLPartFactory
soapEnvelope
- SOAPEnvelopeWebServiceException
XMLStreamException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.