|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sensorevent.model.generic.converter.GenericConverter
com.ibm.sensorevent.model.converter.Converter
com.ibm.sensorevent.model.converter.WBEConverter
public class WBEConverter
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
WBEConverter()
Constructs an WBEConverter |
Method Summary | |
---|---|
static IGenericConverter |
getInstance()
Factory method to create an WBEConverter instance |
static boolean |
isWBEEvent(java.lang.String xml)
|
static boolean |
mulipleEvents(java.lang.String xml)
|
ISensorEvent |
toIBMSensorEvent(javax.xml.parsers.SAXParser sp,
java.lang.String xml)
Converts an XML string in CommonBaseEvent XML format to an ISensorEvent |
ISensorEvent |
toIBMSensorEvent(java.lang.String xml)
Converts an XML string to an ISensorEvent |
ISensorEvent[] |
toIBMSensorEvents(javax.xml.parsers.SAXParser sp,
java.lang.String xml)
Converts an XML string in CommonBaseEvent XML format to an ISensorEvent |
ISensorEvent[] |
toIBMSensorEvents(java.lang.String xml)
|
java.lang.String |
toXMLString(ISensorEvent event)
Converts an ISensorEvent to an XML string |
Methods inherited from class com.ibm.sensorevent.model.generic.converter.GenericConverter |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public WBEConverter()
Method Detail |
---|
public static boolean isWBEEvent(java.lang.String xml)
public static boolean mulipleEvents(java.lang.String xml)
public static IGenericConverter getInstance()
public ISensorEvent toIBMSensorEvent(java.lang.String xml) throws SensorEventException
IConverter
ISensorEvent
toIBMSensorEvent
in interface IConverter
SensorEventException
public ISensorEvent[] toIBMSensorEvents(java.lang.String xml) throws SensorEventException
SensorEventException
public java.lang.String toXMLString(ISensorEvent event) throws SensorEventException
IConverter
ISensorEvent
to an XML string
toXMLString
in interface IConverter
SensorEventException
public ISensorEvent toIBMSensorEvent(javax.xml.parsers.SAXParser sp, java.lang.String xml) throws SensorEventException
sp
- - Instance of the SAXParser to use.xml
- - the XML string to convert
SensorEventException
public ISensorEvent[] toIBMSensorEvents(javax.xml.parsers.SAXParser sp, java.lang.String xml) throws SensorEventException
sp
- - Instance of the SAXParser to use.xml
- - the XML string to convert
SensorEventException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |