|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLPartFactory
XMLPartFactory
Creates an XMLPart object. The two common patterns are: - Create an empty message for a specific protocol - Create a xmlPart sourced from OM (XMLStreamReader) The FactoryRegistry should be used to get access to the Factory
FactoryRegistry
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 |
Method Detail |
---|
XMLPart createFrom(javax.xml.stream.XMLStreamReader reader, Protocol protocol) throws javax.xml.stream.XMLStreamException, WebServiceException
reader
- XMLStreamReaderprotocol
- (if null, the soap protocol is inferred from the namespace)
MessageStreamException
javax.xml.stream.XMLStreamException
WebServiceException
XMLPart createFrom(org.apache.axiom.om.OMElement omElement, Protocol protocol) throws javax.xml.stream.XMLStreamException, WebServiceException
omElement
- OMElementprotocol
- (if null, the soap protocol is inferred from the namespace)
WebServiceException
javax.xml.stream.XMLStreamException
XMLPart createFrom(SOAPEnvelope soapEnvelope) throws javax.xml.stream.XMLStreamException, WebServiceException
soapEnvelope
- SOAPEnvelope
WebServiceException
javax.xml.stream.XMLStreamException
XMLPart create(Protocol protocol) throws javax.xml.stream.XMLStreamException, WebServiceException
protocol
-
WebServiceException
javax.xml.stream.XMLStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |