public class ICEEventMsg extends Object implements IICEElement, IICEElementHandler, IDOMStorable
ice-code
?,
ice-event-data
?) >
<!ATTLIST ice-event-msg
other-id CDATA #IMPLIED
request CDATA #REQUIRED
request-id CDATA #REQUIRED
request-start CDATA #REQUIRED
request-type CDATA #IMPLIED
response CDATA #REQUIRED
response-id CDATA #IMPLIED
response-stop CDATA #REQUIRED
response-type CDATA #IMPLIED
role (requester | responder)
#REQUIRED
subscription-id CDATA #IMPLIED
>
Copyright 2004 SAP AGICEGetEvents
Constructor and Description |
---|
ICEEventMsg(Attributes attributes)
Create a new ICE event msg.
|
ICEEventMsg(Element element)
Create an ICEEventMsg object from a DOM-element.
|
ICEEventMsg(String request,
String requestID,
Date requestStart,
String response,
String responseID,
Date responseStop,
String subscriptionID,
ICEEventRole role,
ICECode code,
ICEEventData data)
Create a new ICE event msg.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endElement(String name)
Receive notification of the end of an element.
|
Date |
getRequestStart()
Get the time at which the request was received.
|
Date |
getResponseStop()
Get the time at which the processing was completed and the response was sent.
|
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 ICEEventMsg(String request, String requestID, Date requestStart, String response, String responseID, Date responseStop, String subscriptionID, ICEEventRole role, ICECode code, ICEEventData data)
request
- The name of the requestrequestID
- The identifier of the requestrequestStart
- The timestamp of the request (start processing)responseStop
- The timestamp of the response (end of processing)subscriptionID
- The identifier of the subscriptionrole
- The rolecode
- The ice-code (might be null)data
- Additional dataresponse
- parameterresponseID
- parameter
TODO: Description of the incoming method parameter
TODO: Description of the incoming method parameterpublic ICEEventMsg(Attributes attributes)
attributes
- TODO: Description of the incoming method parameterpublic ICEEventMsg(Element element)
element
- A DOM-element containing the data of the event messagepublic Date getRequestStart()
public Date getResponseStop()
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
- 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