|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.tgo.model.IltObjectStateSAXInfo
public abstract class IltObjectStateSAXInfo
XML serialization class for IltObjectState.
This class does not allow you to load an IltObjectState from XML as
this object state is abstract. However, it provides reading and writing support for
miscellaneous shared object state parts
(performance and alarms). It reads and writes the following format
(inside an object state attribute element):
Input.
For the list of possible states, see the section Icon-based Representation of Performance States in the User's Manual.
The performance state may be an array (isArray="true"). It may
also be of any Java class, or even an array of an arbitrary Java class. By
default, its content XXX is read as a float (not as an array). If it is an
array, XXX follows the format described in IlpSAXArrayHandler.
Note that in the array case only, the javaClass can be a Java type, such as int.
Capacity.
For the list of possible states, see the section Icon-based Representation of Storage Area Network States in the User's Manual.
The handling of arrays is the same as for performance states.
DoorAjar.
For the list of possible states, see the section Icon-based Representation of Misc States in the User's Manual.
Critical.
LinkFailure.
For the list of possible types, see the section Alarm Severity Coding in the User's Manual.
| Field Summary | |
|---|---|
static String |
ALARMS_TAG
|
static String |
MISC_TAG
|
static String |
PERFORMANCE_TAG
|
static String |
SAN_TAG
|
static String |
TRAPS_TAG
|
| Fields inherited from interface ilog.cpl.storage.IlpSAXSerializable |
|---|
EMPTY_ATTRS |
| Constructor Summary | |
|---|---|
IltObjectStateSAXInfo()
|
|
| Method Summary | |
|---|---|
abstract IlpSAXAttributeValueHandler |
getSAXHandler()
Returns a SAX handler capable of reading the attribute. |
void |
output(Object value,
IlpTypeConverter typeConverter,
ContentHandler outputHandler)
Outputs the value to an SAX ContentHandler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MISC_TAG
public static final String PERFORMANCE_TAG
public static final String SAN_TAG
public static final String ALARMS_TAG
public static final String TRAPS_TAG
| Constructor Detail |
|---|
public IltObjectStateSAXInfo()
| Method Detail |
|---|
public abstract IlpSAXAttributeValueHandler getSAXHandler()
java.lang.ThreadLocal class to return a different instance for each thread.
getSAXHandler in interface IlpSAXSerializable
public void output(Object value,
IlpTypeConverter typeConverter,
ContentHandler outputHandler)
throws SAXException
IlpSAXSerializablevalue to an SAX ContentHandler.
The method translates the object as SAX ContentHandler method calls.
output in interface IlpSAXSerializablevalue - The object to outputtypeConverter - The type converter that may be needed to translate
values to strings.outputHandler - The SAX ContentHandler used by this method.
SAXExceptionIlpTypeConverter.createStringValue(Class,Object)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||