com.sapportals.wcm.protocol.ice.protocol.handler

Interface IICEElementHandler

All Known Implementing Classes:
ICEAccess, ICEAccessWindow, ICECatalog, ICEContact, ICEDeliveryPolicy, ICEEventData, ICEEventInfo, ICEEventLog, ICEEventMsg, ICEEvents, ICEGetSequence, ICEItemRef, ICEOffer, ICEPackage, ICESequence, ICEStatus, ICESubscription

public interface IICEElementHandler

The IICEElementHandler is a simplified SAX ContentHandler that only receives SAX element events. ICEInput redirects all SAX element events to an ICEElement (like ICEPackge) which implements this interface.

Copyright 2004 SAP AG

See Also:
ICEInput

Method Summary
 boolean endElement(String name)
          Receive notification of the end of an element.
 IICECharacterHandler startElement(String name, Attributes attributes, PreparsedXML input)
          Receive notification of the beginning of an element.
 

Method Detail

startElement

IICECharacterHandler startElement(String name,
                                  Attributes attributes,
                                  PreparsedXML input)
                                  throws SAXException
Receive notification of the beginning of an element. ICEInput invokes this method upon a start element event from the underlying SAX parser.

Parameters:
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 content
attributes - @todo: Description of the incoming method parameter
Returns:
An IICECharacterHandler to receive the character events from the SAX parser or null if the character events could be ignored
Throws:
SAXException - on error (might wrap another exception)

endElement

boolean endElement(String name)
                   throws SAXException
Receive notification of the end of an element. ICEInput invokes this method upon an end element event from the underlying SAX parser.

Parameters:
name - The local name of the XML element (we don't need namespaces at this point)
Returns:
true if this handler should still receive SAX element events, false if this handler isn't interested in the following SAX element events
Throws:
SAXException - on error (might wrap another exception)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2011 SAP AG Complete Copyright Notice