|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.pox.dom.DomPoxMessageFactory
public class DomPoxMessageFactory
Implementation of the WebServiceMessageFactory
interface that creates a DomPoxMessage
.
DomPoxMessage
Field Summary | |
---|---|
static String |
DEFAULT_CONTENT_TYPE
The default content type for the POX messages. |
Fields inherited from class org.springframework.xml.transform.TransformerObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
DomPoxMessageFactory()
|
Method Summary | |
---|---|
WebServiceMessage |
createWebServiceMessage()
Creates a new, empty WebServiceMessage . |
WebServiceMessage |
createWebServiceMessage(InputStream inputStream)
Reads a WebServiceMessage from the given input stream. |
void |
setContentType(String contentType)
Sets the content-type for the DomPoxMessage . |
void |
setNamespaceAware(boolean namespaceAware)
Set whether or not the XML parser should be XML namespace aware. |
void |
setValidating(boolean validating)
Set if the XML parser should validate the document. |
Methods inherited from class org.springframework.xml.transform.TransformerObjectSupport |
---|
createTransformer, getTransformerFactory, transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_CONTENT_TYPE
Constructor Detail |
---|
public DomPoxMessageFactory()
Method Detail |
---|
public void setContentType(String contentType)
DomPoxMessage
.
public void setNamespaceAware(boolean namespaceAware)
true
.
public void setValidating(boolean validating)
false
.
public WebServiceMessage createWebServiceMessage()
WebServiceMessageFactory
WebServiceMessage
.
createWebServiceMessage
in interface WebServiceMessageFactory
public WebServiceMessage createWebServiceMessage(InputStream inputStream) throws IOException
WebServiceMessageFactory
WebServiceMessage
from the given input stream.
If the given stream is an instance of TransportInputStream
, the headers will be read from the request.
createWebServiceMessage
in interface WebServiceMessageFactory
inputStream
- the inputstream to read the message from
IOException
- if an I/O exception occurs
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |