|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ws.support.MarshallingUtils
public abstract class MarshallingUtils
Helper class for endpoints and endpoint mappings that use marshalling.
| Method Summary | |
|---|---|
static void |
marshal(org.springframework.oxm.Marshaller marshaller,
Object graph,
WebServiceMessage message)
Marshals the given object to the payload of the given message using the provided Marshaller. |
static Object |
unmarshal(org.springframework.oxm.Unmarshaller unmarshaller,
WebServiceMessage message)
Unmarshals the payload of the given message using the provided Unmarshaller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Object unmarshal(org.springframework.oxm.Unmarshaller unmarshaller,
WebServiceMessage message)
throws IOException
Unmarshaller.
If the request message has no payload (i.e. WebServiceMessage.getPayloadSource() returns
null), this method will return null.
unmarshaller - the unmarshallermessage - the message of which the payload is to be unmarshalled
IOException - in case of I/O errors
public static void marshal(org.springframework.oxm.Marshaller marshaller,
Object graph,
WebServiceMessage message)
throws IOException
Marshaller.
marshaller - the marshallergraph - the root of the object graph to marshalmessage - the message of which the payload is to be unmarshalled
IOException - in case of I/O errors
|
Spring Web Services Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||