Static Public Member Functions

alma.alarmsystem.alarmmessage.AlarmMessageConversion Class Reference

List of all members.

Static Public Member Functions

static synchronized String getXML (AlarmImpl coreAlarm) throws ValidationException, MarshalException
static synchronized AlarmImpl getAlarm (String xml) throws ValidationException, MarshalException

Detailed Description

This class manages the conversion between the ACSAlarmMessage class generated by castor and the AlarmImpl classes in laser-core and laser-source. It contains other utility methods related to the generated code as well.

Author:
acaproni

Member Function Documentation

static synchronized AlarmImpl alma.alarmsystem.alarmmessage.AlarmMessageConversion.getAlarm ( String  xml  )  throws ValidationException, MarshalException [static]
static synchronized String alma.alarmsystem.alarmmessage.AlarmMessageConversion.getXML ( AlarmImpl  coreAlarm  )  throws ValidationException, MarshalException [static]

Take a (laser-core) alarm and returns its XML representation generated by castor

Parameters:
coreAlarm An AlarmImpl in the laser-core
Returns:
The XML representation of the alarm

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties