|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.message.impl.MessageFactoryImpl
public class MessageFactoryImpl
MessageFactoryImpl
Constructor Summary | |
---|---|
MessageFactoryImpl()
Default Constructor required for Factory |
Method Summary | |
---|---|
Message |
create(Protocol protocol)
create empty Message of the specified protocol |
Message |
createFrom(Block block,
java.lang.Object context,
Protocol protocol)
create Message from a Block |
Message |
createFrom(org.apache.axiom.om.OMElement omElement,
Protocol protocol)
create Message with the xml from the OMElement |
Message |
createFrom(SOAPMessage message)
create Message from SOAPMessage The xml and attachments from the SOAPMessage are used to populate the new Message The protocol is inferred from the SOAPMessage |
Message |
createFrom(javax.xml.stream.XMLStreamReader reader,
Protocol protocol)
create Message with the xml from the XMLStreamReader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageFactoryImpl()
Method Detail |
---|
public Message createFrom(javax.xml.stream.XMLStreamReader reader, Protocol protocol) throws javax.xml.stream.XMLStreamException, WebServiceException
MessageFactory
createFrom
in interface MessageFactory
reader
- XMLStreamReaderprotocol
- (if null, the soap protocol is inferred from the namespace)
javax.xml.stream.XMLStreamException
WebServiceException
public Message createFrom(org.apache.axiom.om.OMElement omElement, Protocol protocol) throws javax.xml.stream.XMLStreamException, WebServiceException
MessageFactory
createFrom
in interface MessageFactory
omElement
- OMElementprotocol
- (if null, the soap protocol is inferred from the namespace)
javax.xml.stream.XMLStreamException
WebServiceException
public Message create(Protocol protocol) throws javax.xml.stream.XMLStreamException, WebServiceException
MessageFactory
create
in interface MessageFactory
javax.xml.stream.XMLStreamException
WebServiceException
public Message createFrom(SOAPMessage message) throws javax.xml.stream.XMLStreamException, WebServiceException
MessageFactory
createFrom
in interface MessageFactory
javax.xml.stream.XMLStreamException
WebServiceException
public Message createFrom(Block block, java.lang.Object context, Protocol protocol) throws javax.xml.stream.XMLStreamException, WebServiceException
MessageFactory
createFrom
in interface MessageFactory
context
- Associated Context or nullprotocol
- (if null, the soap protocol is inferred from the namespace)
javax.xml.stream.XMLStreamException
WebServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |