Class XMLPartFactoryImpl
java.lang.Object
org.apache.axis2.jaxws.message.impl.XMLPartFactoryImpl
- All Implemented Interfaces:
XMLPartFactory
MessageFactoryImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate empty XMLPart of the specified protocolcreateFrom(jakarta.xml.soap.SOAPEnvelope soapEnvelope) create XMLPart from SOAPEnvelopecreateFrom(XMLStreamReader reader, Protocol protocol) create XMLPart from XMLStreamReadercreateFrom(org.apache.axiom.om.OMElement omElement, Protocol protocol) create XMLPart from OMElement
-
Constructor Details
-
XMLPartFactoryImpl
public XMLPartFactoryImpl()Default Constructor required for Factory
-
-
Method Details
-
createFrom
public XMLPart createFrom(XMLStreamReader reader, Protocol protocol) throws XMLStreamException, jakarta.xml.ws.WebServiceException Description copied from interface:XMLPartFactorycreate XMLPart from XMLStreamReader- Specified by:
createFromin interfaceXMLPartFactory- Parameters:
reader- XMLStreamReaderprotocol- (if null, the soap protocol is inferred from the namespace)- Throws:
XMLStreamExceptionjakarta.xml.ws.WebServiceException
-
createFrom
public XMLPart createFrom(org.apache.axiom.om.OMElement omElement, Protocol protocol) throws XMLStreamException, jakarta.xml.ws.WebServiceException Description copied from interface:XMLPartFactorycreate XMLPart from OMElement- Specified by:
createFromin interfaceXMLPartFactory- Parameters:
omElement- OMElementprotocol- (if null, the soap protocol is inferred from the namespace)- Throws:
jakarta.xml.ws.WebServiceExceptionXMLStreamException
-
create
public XMLPart create(Protocol protocol) throws XMLStreamException, jakarta.xml.ws.WebServiceException Description copied from interface:XMLPartFactorycreate empty XMLPart of the specified protocol- Specified by:
createin interfaceXMLPartFactory- Throws:
jakarta.xml.ws.WebServiceExceptionXMLStreamException
-
createFrom
public XMLPart createFrom(jakarta.xml.soap.SOAPEnvelope soapEnvelope) throws XMLStreamException, jakarta.xml.ws.WebServiceException Description copied from interface:XMLPartFactorycreate XMLPart from SOAPEnvelope- Specified by:
createFromin interfaceXMLPartFactory- Parameters:
soapEnvelope- SOAPEnvelope- Throws:
jakarta.xml.ws.WebServiceExceptionXMLStreamException
-