|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.hyades.logging.events.CbeFormatter
The CbeFormatter class defines a utility object used for converting, serializing and deserializing CommonBaseEvent and related objects. It is mostly used by other objects in this API to facilitate shared functionality, but can be used by anyone using the API.
CommonBaseEventImpl
,
AssociationEngineImpl
Field Summary | |
---|---|
static java.lang.String |
xml_version
Deprecated. Use ICommonBaseEvent#getVersion() as of 1.0.1. |
Constructor Summary | |
---|---|
CbeFormatter()
Deprecated. |
Method Summary | |
---|---|
static java.lang.String |
convertDateToXmlSchemaDateTime(long date)
Deprecated. Converts a long representing UTC in milliseconds to the XML Schema datetime format |
static long |
convertXmlSchemaDateTimeToDate(java.lang.String dateTime)
Deprecated. 3.2.7.1 Lexical representation A single lexical representation, which is a subset of the lexical representations allowed by [ISO 8601], is allowed for dateTime. |
static void |
fromCanonicalXMLDocString(IAssociationEngine engine,
java.lang.String aXMLDocString)
Deprecated. Internalizes a passed XML document String into a passed IAssociationEngine object. |
static void |
fromCanonicalXMLDocString(ICommonBaseEvent event,
java.lang.String aXMLDocString)
Deprecated. Converts an XML document to an ICommonBaseEvent object. |
static void |
fromCanonicalXMLString(IAssociationEngine engine,
java.lang.String xmlString)
Deprecated. Internalizes a passed XML fragment String into a passed IAssociationEngine object. |
static void |
fromCanonicalXMLString(ICommonBaseEvent commonBaseEvent,
java.lang.String xmlString)
Deprecated. Converts an XML fragment to an ICommonBaseEvent object. |
static java.lang.String |
getEventFormatterVersion()
Deprecated. Use ICommonBaseEvent#getVersion() as of 1.0.1. |
static java.lang.String |
toCanonicalXMLDocString(AssociationEngineImpl engine)
Deprecated. Converts an IAssociationEngine object into a formatted serialized XML document. |
static java.lang.String |
toCanonicalXMLDocString(AssociationEngineImpl engine,
boolean format)
Deprecated. Converts an IAssociationEngine object into a serialized XML document. |
static java.lang.String |
toCanonicalXMLDocString(ICommonBaseEvent commonBaseEvent)
Deprecated. Converts an ICommonBaseEvent object into a formatted serialized XML document. |
static java.lang.String |
toCanonicalXMLDocString(ICommonBaseEvent commonBaseEvent,
boolean format)
Deprecated. Converts an ICommonBaseEvent object into a serialized XML document. |
static java.lang.String |
toCanonicalXMLString(IAssociationEngine associationEngine)
Deprecated. Converts an IAssociationEngine object into a serialized XML fragment. |
static java.lang.String |
toCanonicalXMLString(ICommonBaseEvent commonBaseEvent)
Deprecated. Converts an ICommonBaseEvent object into a formatted serialized XML fragment. |
static java.lang.String |
toCanonicalXMLString(ICommonBaseEvent commonBaseEvent,
boolean format)
Deprecated. Converts an ICommonBaseEvent object into a serialized XML fragment. |
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 xml_version
Constructor Detail |
public CbeFormatter()
Method Detail |
public static java.lang.String toCanonicalXMLString(IAssociationEngine associationEngine)
public static void fromCanonicalXMLString(IAssociationEngine engine, java.lang.String xmlString)
engine
- The IAssociationEngine object to populate.xmlString
- The XML fragment containing the information used to populate the Association Engine object.public static void fromCanonicalXMLDocString(IAssociationEngine engine, java.lang.String aXMLDocString)
engine
- The IAssociationEngine object to populate.aXMLDocString
- The XML document containing the information used to populate the Association Engine object.public static java.lang.String toCanonicalXMLDocString(AssociationEngineImpl engine)
engine
- The IAssociationEngine to serialize.
public static java.lang.String toCanonicalXMLDocString(AssociationEngineImpl engine, boolean format)
engine
- The IAssociationEngine to serialize.format
- If the serialized XML document is formatted with platform-dependent new line(s) and tab(s).
public static java.lang.String toCanonicalXMLString(ICommonBaseEvent commonBaseEvent)
commonBaseEvent
- The ICommonBaseEvent to serialize.
public static java.lang.String toCanonicalXMLString(ICommonBaseEvent commonBaseEvent, boolean format)
commonBaseEvent
- The ICommonBaseEvent to serialize.format
- If the serialized XML fragment is formatted with platform-dependent new line(s) and tab(s).
public static java.lang.String toCanonicalXMLDocString(ICommonBaseEvent commonBaseEvent)
commonBaseEvent
- The ICommonBaseEvent to serialize.
public static java.lang.String toCanonicalXMLDocString(ICommonBaseEvent commonBaseEvent, boolean format)
commonBaseEvent
- The ICommonBaseEvent to serialize.format
- If the serialized XML document is formatted with platform-dependent new line(s) and tab(s).
public static void fromCanonicalXMLString(ICommonBaseEvent commonBaseEvent, java.lang.String xmlString)
commonBaseEvent
- The ICommonBaseEvent to be populated by the XML fragment.xmlString
- The XML fragment to populate the ICommonBaseEvent object.public static void fromCanonicalXMLDocString(ICommonBaseEvent event, java.lang.String aXMLDocString)
public static long convertXmlSchemaDateTimeToDate(java.lang.String dateTime)
public static java.lang.String convertDateToXmlSchemaDateTime(long date)
date
- the date in milliseconds
public static final java.lang.String getEventFormatterVersion()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |