Crazy Eddie's GUI System  0.8.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::ChainedXMLHandler Class Referenceabstract

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:

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. More...
 
void elementEnd (const String &element)
 Method called to notify the handler at the end of each XML element encountered. More...
 
bool completed () const
 returns whether this chained handler has completed.
 
- Public Member Functions inherited from CEGUI::XMLHandler
 XMLHandler (void)
 XMLHandler base class constructor.
 
virtual ~XMLHandler (void)
 XMLHandler base class destructor.
 
void handleContainer (const RawDataContainer &source)
 Takes given RawDataContainer containing XML and handles it. More...
 
void handleFile (const String &fileName, const String &resourceGroup)
 Takes given file containing XML and handles it. More...
 
void handleString (const String &source)
 Takes given string containing XML source and handles it. More...
 
virtual void text (const String &text)
 Method called to notify text node, several successiv text node are agregated. More...
 

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.