|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sensorevent.model.birt.IBMSensorEventBirtParser
public class IBMSensorEventBirtParser
IBMSensorEventBirtParser retrieves data from an ISensorEvent during processing of a BIRT report.
Field Summary | |
---|---|
protected XMLConverter |
converter
The XMLConverter instance to use to convert XML strings to/from ISensorEvents |
static java.lang.String |
COPYRIGHT
|
protected ISensorEvent |
event
The ISensorEvent to process |
protected java.lang.String |
xml
The event XML string to process |
Constructor Summary | |
---|---|
protected |
IBMSensorEventBirtParser()
Construct an IBMSensorEventBirtParser |
protected |
IBMSensorEventBirtParser(java.lang.String xml)
Construct an IBMSensorEventBirtParser to process the specified XML string |
Method Summary | |
---|---|
ISensorEvent |
getEvent()
Returns the ISensorEvent |
static IBMSensorEventBirtParser |
getInstance(java.lang.String xml)
Factory method to create an IBMSensorEventBirtParser instance for the specified XML string |
java.lang.String |
getPayloadMetaData()
Returns a String representing the payload metadata |
java.lang.String |
getTagAntenna(java.lang.String tagId)
Returns the 'antenna' value from the current event for the specified tag ID |
java.lang.String |
getTagAntennaByIndex(java.lang.String index)
Returns the 'antenna' value from the current event for the specified tag index |
java.lang.String |
getTagCount(java.lang.String tagId)
Returns the 'count' value from the current event for the specified tag ID |
java.lang.String |
getTagCountByIndex(java.lang.String index)
Returns the 'count' value from the current event for the specified tag index |
java.lang.String |
getTagDiscovered(java.lang.String tagId)
Returns the 'discovered' value from the current event for the specified tag ID |
java.lang.String |
getTagDiscoveredByIndex(java.lang.String index)
Returns the 'discovered' value from the current event for the specified tag index |
java.lang.String[] |
getTagIDs()
Returns a String array of the tag IDs in the current event |
java.lang.String |
getTagIdUri(java.lang.String tagId)
Returns the 'ID URI' value from the current event for the specified tag ID |
java.lang.String |
getTagIdUriByIndex(java.lang.String index)
Returns the 'ID URI' value from the current event for the specified tag index |
java.lang.String |
getTagRawUri(java.lang.String tagId)
Returns the 'raw URI' value from the current event for the specified tag ID |
java.lang.String |
getTagRawUriByIndex(java.lang.String index)
Returns the 'raw URI' value from the current event for the specified tag index |
java.lang.String[] |
getTagRead(java.lang.String tagId)
Returns a String array containing the tag read data for the specified tag ID |
java.lang.String |
getTagReader(java.lang.String tagId)
Returns the 'reader' value from the current event for the specified tag ID |
java.lang.String |
getTagReaderByIndex(java.lang.String index)
Returns the 'reader' value from the current event for the specified tag index |
java.lang.String[][] |
getTagReads()
Returns a 2-D String array of all tag read data from the current event; the first dimension is the tag ID; the second dimension is the tag read data for the tag ID |
java.lang.String |
getTagTagUri(java.lang.String tagId)
Returns the 'tag URI' value from the current event for the specified tag ID |
java.lang.String |
getTagTagUriByIndex(java.lang.String index)
Returns the 'tag URI' value from the current event for the specified tag index |
java.lang.String |
getTagUserData(java.lang.String tagId)
Returns the 'tag user data' value from the current event for the specified tag ID |
java.lang.String |
getTagUserDataByIndex(java.lang.String index)
Returns the 'tag user data' value from the current event for the specified tag index |
java.lang.String |
getXML()
Returns the XML string |
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
protected java.lang.String xml
protected ISensorEvent event
protected XMLConverter converter
Constructor Detail |
---|
protected IBMSensorEventBirtParser()
protected IBMSensorEventBirtParser(java.lang.String xml) throws SensorEventException
xml
- - the XML string to process
SensorEventException
Method Detail |
---|
public static IBMSensorEventBirtParser getInstance(java.lang.String xml) throws SensorEventException
xml
- - the XML string to process
SensorEventException
public java.lang.String getXML()
public ISensorEvent getEvent() throws SensorEventException
SensorEventException
public java.lang.String[] getTagIDs() throws SensorEventException
SensorEventException
public java.lang.String getPayloadMetaData() throws SensorEventException
SensorEventException
public java.lang.String[][] getTagReads() throws SensorEventException
SensorEventException
public java.lang.String[] getTagRead(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagDiscovered(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagDiscoveredByIndex(java.lang.String index) throws SensorEventException
index
- - the tag index to process
SensorEventException
public java.lang.String getTagReader(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagReaderByIndex(java.lang.String index) throws SensorEventException
index
- - the tag index to process
SensorEventException
public java.lang.String getTagUserData(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagUserDataByIndex(java.lang.String index) throws SensorEventException
index
- - the tag index to process
SensorEventException
public java.lang.String getTagCount(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagCountByIndex(java.lang.String index) throws SensorEventException
index
- - the tag index to process
SensorEventException
public java.lang.String getTagIdUri(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagIdUriByIndex(java.lang.String index) throws SensorEventException
index
- - the tag index to process
SensorEventException
public java.lang.String getTagTagUri(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagTagUriByIndex(java.lang.String index) throws SensorEventException
index
- - the tag index to process
SensorEventException
public java.lang.String getTagRawUri(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagRawUriByIndex(java.lang.String index) throws SensorEventException
index
- - the tag index to process
SensorEventException
public java.lang.String getTagAntenna(java.lang.String tagId) throws SensorEventException
tagId
- - the tag ID to process
SensorEventException
public java.lang.String getTagAntennaByIndex(java.lang.String index) throws SensorEventException
index
- - the tag index to process
SensorEventException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |