public class ICEEvents extends Object implements IICEResponseElement, IICEElementHandler
Detailed information about ICE events response could be found in the ICE 1.1 specification
http://www.icestandard.com/spec/SPEC-ICE1.01-20000511.html#section6.3 Section 6.3 .
BORDER CELLSPACING=2 CELLPADDING=0 class="dtdfrag"
ice-events format
<!ENTITY % cm.events "ice-event-log
" >
<!ELEMENT ice-events (%cm.events;) >
<!ATTLIST ice-events
format CDATA #REQUIRED
start CDATA #IMPLIED
stop CDATA #IMPLIED
subscription-id CDATA #IMPLIED
>
Copyright 2004 SAP AG
ICEGetEvents
Constructor and Description |
---|
ICEEvents(Attributes attributes)
Create a new ICE events response.
|
ICEEvents(String format,
Date start,
Date stop,
String subscriptionID,
ICEEventLog eventLog)
Create a new ICE events response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endElement(String name)
Receive notification of the end of an element.
|
ICEEventLog |
getEventLog()
Get the event log.
|
String |
getFormat()
Get the format of the event log.
|
Date |
getStart()
Get the start timestamp of the event log.
|
Date |
getStop()
Get the stop timestamp of the event log.
|
String |
getSubscriptionID()
Get the identifier of the subscription.
|
IICECharacterHandler |
startElement(String name,
Attributes attributes,
PreparsedXML input)
Receive notification of the beginning of an element.
|
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 ICEEvents(String format, Date start, Date stop, String subscriptionID, ICEEventLog eventLog)
format
- The event log formatstart
- The start timestamp of the event log (might be null)stop
- The end timestamp of the event log (might be null)subscriptionID
- The id of the subscription (might be null)eventLog
- The event logpublic ICEEvents(Attributes attributes)
attributes
- todo: Description of the incoming method parameterpublic String getFormat()
public Date getStart()
public Date getStop()
public String getSubscriptionID()
public ICEEventLog getEventLog()
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
- todo: Description of the incoming method parameterSAXException
- 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)Access 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