public class ICEEventLog 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.
BORDER CELLSPACING=2 CELLPADDING=0 class="dtdfrag"
ice-event-log format
<!ELEMENT ice-event-log ((ice-event-msg
|
ice-event-info
)*) >
<!ATTLIST ice-event-log
version CDATA #REQUIRED
>
Copyright 2004 SAP AG
Constructor and Description |
---|
ICEEventLog(Attributes attributes)
Create a new ICE event log.
|
ICEEventLog(String version,
Collection log)
Create a new ICE event log.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endElement(String name)
Receive notification of the end of an element.
|
Collection |
getLog()
Get the event log.
|
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 ICEEventLog(String version, Collection log)
version
- The version of the event loglog
- A collection of events (ICEEventMsg or ICEEventInfo)public ICEEventLog(Attributes attributes)
attributes
- The attributes of the ice-event-log tagpublic Collection getLog()
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)attributes
- The attributes of the XML elementinput
- The preparsed XML stream to get the element contentSAXException
- 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