27 #ifndef _CEGUIScheme_xmlHandler_h_
28 #define _CEGUIScheme_xmlHandler_h_
30 #include "CEGUI/XMLHandler.h"
31 #include "CEGUI/String.h"
60 static const String GUISchemeSchemaName;
62 static const String GUISchemeElement;
64 static const String ImagesetElement;
66 static const String ImagesetFromImageElement;
68 static const String FontElement;
70 static const String WindowSetElement;
72 static const String WindowFactoryElement;
74 static const String WindowAliasElement;
76 static const String FalagardMappingElement;
78 static const String LookNFeelElement;
80 static const String NameAttribute;
82 static const String FilenameAttribute;
84 static const String AliasAttribute;
86 static const String TargetAttribute;
88 static const String ResourceGroupAttribute;
90 static const String WindowTypeAttribute;
92 static const String TargetTypeAttribute;
94 static const String LookNFeelAttribute;
96 static const String WindowRendererSetElement;
98 static const String WindowRendererFactoryElement;
100 static const String WindowRendererAttribute;
102 static const String RenderEffectAttribute;
104 static const String SchemeVersionAttribute;
111 void elementImagesetFromImageStart(
const XMLAttributes& attributes);
117 void elementWindowFactoryStart(
const XMLAttributes& attributes);
119 void elementWindowRendererSetStart(
const XMLAttributes& attributes);
121 void elementWindowRendererFactoryStart(
const XMLAttributes& attributes);
123 void elementWindowAliasStart(
const XMLAttributes& attributes);
125 void elementFalagardMappingStart(
const XMLAttributes& attributes);
129 void elementGUISchemeEnd();
137 mutable bool d_objectRead;
Handler class used to parse the Scheme XML files using SAX2.
Definition: Scheme_xmlHandler.h:38
const String & getDefaultResourceGroup() const
Retrieves the default resource group to be used when handling files.
const String & getSchemaName() const
Retrieves the schema file name to use with resources handled by this handler.
Scheme_xmlHandler()
Constructor.
~Scheme_xmlHandler()
Destructor.
void elementStart(const String &element, const XMLAttributes &attributes)
Method called to notify the handler at the start of each XML element encountered.
const String & getObjectName() const
Return string holding the name of the created Imageset.
void elementEnd(const String &element)
Method called to notify the handler at the end of each XML element encountered.
Scheme & getObject() const
Return reference to the created Scheme object.
A class that groups a set of GUI elements and initialises the system to access those elements.
Definition: Scheme.h:60
String class used within the GUI system.
Definition: String.h:64
Class representing a block of attributes associated with an XML element.
Definition: XMLAttributes.h:48
Definition: XMLHandler.h:37
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1