|
||||||||||
| 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(javax.xml.soap.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,
javax.xml.ws.WebServiceException
reader - XMLStreamReaderprotocol - (if null, the soap protocol is inferred from the namespace)
MessageStreamException
javax.xml.stream.XMLStreamException
javax.xml.ws.WebServiceException
XMLPart createFrom(org.apache.axiom.om.OMElement omElement,
Protocol protocol)
throws javax.xml.stream.XMLStreamException,
javax.xml.ws.WebServiceException
omElement - OMElementprotocol - (if null, the soap protocol is inferred from the namespace)
javax.xml.ws.WebServiceException
javax.xml.stream.XMLStreamException
XMLPart createFrom(javax.xml.soap.SOAPEnvelope soapEnvelope)
throws javax.xml.stream.XMLStreamException,
javax.xml.ws.WebServiceException
soapEnvelope - SOAPEnvelope
javax.xml.ws.WebServiceException
javax.xml.stream.XMLStreamException
XMLPart create(Protocol protocol)
throws javax.xml.stream.XMLStreamException,
javax.xml.ws.WebServiceException
protocol -
javax.xml.ws.WebServiceException
javax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||