public class ICEEventInfo extends Object implements IICEElement, IICEElementHandler, IDOMStorable
Detailed information about ICE event log could be found in the ICE 1.1 specification
http://www.icestandard.com/spec/SPEC-ICE1.01-20000511.html#section6.3 Section 6.3 .
BORDERCELLSPACING=2CELLPADDING=0class="dtdfrag"
ice-event-info format
<!ELEMENT ice-event-info (ice-event-data
?) >
<!ATTLIST ice-event-info
event CDATA #REQUIRED
event-start CDATA #REQUIRED
event-stop CDATA #REQUIRED
>
Copyright 2004 SAP AG
ICEGetEvents
Constructor and Description |
---|
ICEEventInfo(Attributes attributes)
Create a new ICE event info.
|
ICEEventInfo(Element element)
Create an ICEEventInfo object from a DOM-element.
|
ICEEventInfo(String event,
Date start,
Date stop,
ICEEventData data)
Create a new ICE event info.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endElement(String name)
Receive notification of the end of an element.
|
Date |
getStart()
Get the time at which the event began.
|
Date |
getStop()
Get the time at which the event ended.
|
IICECharacterHandler |
startElement(String name,
Attributes attributes,
PreparsedXML input)
Receive notification of the beginning of an element.
|
Node |
store(Document document)
Store the informations into a DOM.
|
void |
write(ContentHandler handler)
Write the XML representation of the ICE element to a SAX ContentHandler.
|
boolean |
writeChunk(ContentHandler handler)
Write a chunk of XML to a SAX ContentHandler.
|
public static final String TAGNAME
public ICEEventInfo(String event, Date start, Date stop, ICEEventData data)
event
- The name/description of the eventstart
- The timestamp of the beginstop
- The timestmp of the enddata
- Additional data (might be null)public ICEEventInfo(Attributes attributes)
attributes
- attributespublic ICEEventInfo(Element element)
element
- A DOM-element containing the data of the event infopublic Date getStart()
public Date getStop()
public IICECharacterHandler startElement(String name, Attributes attributes, PreparsedXML input) throws SAXException
startElement
in interface IICEElementHandler
name
- The local name of the XML element (we don't need namespaces at this point)input
- The preparsed XML stream to get the element contentattributes
- The AttributesSAXException
- on error (might wrap another exception)public boolean endElement(String name) throws SAXException
endElement
in interface IICEElementHandler
name
- The local name of the XML element (we don't need namespaces at this point)SAXException
- on error (might wrap another exception)public void write(ContentHandler handler) throws SAXException
write
in interface IICEElement
handler
- The SAX ContentHandler (usually an XMLSerializer)SAXException
- on error (might wrap another exception)public boolean writeChunk(ContentHandler handler) throws SAXException
writeChunk
in interface IICEElement
handler
- The SAX ContentHandler (usually a XMLSerializer)SAXException
- on error (might wrap another exception)public Node store(Document document)
store
in interface IDOMStorable
document
- The DOM document that should be used as factory for the DOM elementsAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice