|
Version: ${maven.project.version} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventDeserializer
An interface whose implementations can re-create Soaplab events (Java objects) from their XML representation.
The reason why it is an interface and not a class is that Soaplab can use the SPI mechanism to find an implementation that can deal also with non-default events (the default events can be deserialized by the default implementation).
Method Summary | |
---|---|
AnalysisEvent |
deserialize(java.lang.Object source,
java.io.File xmlEventFile)
Create an object representing an event from XML stored in given file. |
AnalysisEvent |
deserialize(java.lang.Object source,
java.lang.String xmlEvent)
Create an object representing an event from 'xmlEvent'. |
Method Detail |
---|
AnalysisEvent deserialize(java.lang.Object source, java.lang.String xmlEvent) throws SoaplabException
source
- is a source of this event; can be null if the
source is not known (this is here because event serialization,
the XML string, does not contain any event source)xmlEvent
- is a serialized event
SoaplabException
- if something prevents to create an eventAnalysisEvent deserialize(java.lang.Object source, java.io.File xmlEventFile) throws SoaplabException
Otherwise the same as the deserialize(Object,String)
method.
SoaplabException
|
Version: ${maven.project.version} | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |