|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openspml.v2.util.SimpleSPMLMarshaller
This is a class that we can use in the web.xml to marshall and unmarshall requests and responses. It's suitable for use as a bootstrap.
| Constructor Summary | |
SimpleSPMLMarshaller()
|
|
| Method Summary | |
java.lang.String |
getUniqueName()
Marshaller implementations should provide a unique name. |
void |
init(java.util.Map map)
Called during initialization. |
java.lang.String |
marshallResponse(Response response)
|
Request |
unmarshallRequest(java.lang.String s)
Process a request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleSPMLMarshaller()
| Method Detail |
public void init(java.util.Map map)
throws Spml2Exception
SPMLMarshaller
init in interface SPMLMarshallerSpml2Exceptionpublic java.lang.String getUniqueName()
SPMLMarshaller
getUniqueName in interface SPMLMarshaller
public Request unmarshallRequest(java.lang.String s)
throws Spml2Exception
SPMLMarshaller
unmarshallRequest in interface SPMLMarshallerSpml2Exception
public java.lang.String marshallResponse(Response response)
throws Spml2Exception
marshallResponse in interface SPMLMarshallerSpml2Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||