Crazy Eddie's GUI System  0.8.4
CEGUI::ChainedXMLHandler Class Reference

Abstract XMLHandler based class. More...

Inherits CEGUI::XMLHandler.

Inherited by CEGUI::Animation_xmlHandler, CEGUI::AnimationAffectorHandler, CEGUI::AnimationDefinitionHandler, CEGUI::AnimationKeyFrameHandler, CEGUI::AnimationSubscriptionHandler, CEGUI::Falagard_xmlHandler, CEGUI::Image, and CEGUI::ImageManager.

+ Collaboration diagram for CEGUI::ChainedXMLHandler:

List of all members.

Public Member Functions

const StringgetSchemaName () const
 Retrieves the schema file name to use with resources handled by this handler.
const StringgetDefaultResourceGroup () const
 Retrieves the default resource group to be used when handling files.
void elementStart (const String &element, const XMLAttributes &attributes)
 Method called to notify the handler at the start of each XML element encountered.
void elementEnd (const String &element)
 Method called to notify the handler at the end of each XML element encountered.
bool completed () const
 returns whether this chained handler has completed.

Protected Member Functions

virtual void elementStartLocal (const String &element, const XMLAttributes &attributes)=0
 Function that handles elements locally (used at end of handler chain)
virtual void elementEndLocal (const String &element)=0
 Function that handles elements locally (used at end of handler chain)
void cleanupChainedHandler ()
 clean up any chained handler.

Protected Attributes

ChainedXMLHandlerd_chainedHandler
 chained xml handler object.
bool d_completed
 is the chained handler completed.
bool d_deleteChaniedHandler
 should the chained handler be deleted by us?

Detailed Description

Abstract XMLHandler based class.


Member Function Documentation

void CEGUI::ChainedXMLHandler::elementEnd ( const String element) [virtual]

Method called to notify the handler at the end of each XML element encountered.

Parameters:
elementString object holding the name of the element that is ending.
Returns:
Nothing.

Reimplemented from CEGUI::XMLHandler.

void CEGUI::ChainedXMLHandler::elementStart ( const String element,
const XMLAttributes attributes 
) [virtual]

Method called to notify the handler at the start of each XML element encountered.

Parameters:
elementString object holding the name of the element that is starting.
attributesAn XMLAttributes object holding the collection of attributes specified for the element.
Returns:
Nothing.

Reimplemented from CEGUI::XMLHandler.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends