org.apache.axis2.jaxws.message.impl
Class XMLPartFactoryImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.message.impl.XMLPartFactoryImpl
All Implemented Interfaces:
XMLPartFactory

public class XMLPartFactoryImpl
extends java.lang.Object
implements XMLPartFactory

MessageFactoryImpl


Constructor Summary
XMLPartFactoryImpl()
          Default Constructor required for Factory
 
Method Summary
 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(javax.xml.stream.XMLStreamReader reader, Protocol protocol)
          create XMLPart from XMLStreamReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPartFactoryImpl

public XMLPartFactoryImpl()
Default Constructor required for Factory

Method Detail

createFrom

public XMLPart createFrom(javax.xml.stream.XMLStreamReader reader,
                          Protocol protocol)
                   throws javax.xml.stream.XMLStreamException,
                          WebServiceException
Description copied from interface: XMLPartFactory
create XMLPart from XMLStreamReader

Specified by:
createFrom in interface XMLPartFactory
Parameters:
reader - XMLStreamReader
protocol - (if null, the soap protocol is inferred from the namespace)
Throws:
javax.xml.stream.XMLStreamException
WebServiceException

createFrom

public XMLPart createFrom(org.apache.axiom.om.OMElement omElement,
                          Protocol protocol)
                   throws javax.xml.stream.XMLStreamException,
                          WebServiceException
Description copied from interface: XMLPartFactory
create XMLPart from OMElement

Specified by:
createFrom in interface XMLPartFactory
Parameters:
omElement - OMElement
protocol - (if null, the soap protocol is inferred from the namespace)
Throws:
WebServiceException
javax.xml.stream.XMLStreamException

create

public XMLPart create(Protocol protocol)
               throws javax.xml.stream.XMLStreamException,
                      WebServiceException
Description copied from interface: XMLPartFactory
create empty XMLPart of the specified protocol

Specified by:
create in interface XMLPartFactory
Throws:
WebServiceException
javax.xml.stream.XMLStreamException

createFrom

public XMLPart createFrom(SOAPEnvelope soapEnvelope)
                   throws javax.xml.stream.XMLStreamException,
                          WebServiceException
Description copied from interface: XMLPartFactory
create XMLPart from SOAPEnvelope

Specified by:
createFrom in interface XMLPartFactory
Parameters:
soapEnvelope - SOAPEnvelope
Throws:
WebServiceException
javax.xml.stream.XMLStreamException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.