public class AlarmMessageConversion
extends java.lang.Object
| Constructor and Description |
|---|
AlarmMessageConversion() |
| Modifier and Type | Method and Description |
|---|---|
static AlarmImpl |
getAlarm(java.lang.String xml) |
static java.lang.String |
getXML(AlarmImpl coreAlarm)
Take a (laser-core) alarm and returns its XML representation
generated by castor
|
public static java.lang.String getXML(AlarmImpl coreAlarm) throws ValidationException, MarshalException
coreAlarm - An AlarmImpl in the laser-coreValidationExceptionMarshalExceptionpublic static AlarmImpl getAlarm(java.lang.String xml) throws ValidationException, MarshalException, java.text.ParseException
ValidationExceptionMarshalExceptionjava.text.ParseException