Gizmo3D

gzXmlSax Class Reference

#include <gzXML.h>

Inheritance diagram for gzXmlSax:

gzBasicParser gzSerializeData gzXmlDom List of all members.

Public Member Functions

 gzXmlSax ()
virtual ~gzXmlSax ()
virtual gzVoid write (gzSerializeAdapter *adapter)
virtual gzVoid read (gzSerializeAdapter *adapter)
virtual gzVoid pushBack (gzSerializeAdapter *adapter)
virtual gzULong getDataSize (gzSerializeAdapter *adapter=NULL) const
gzVoid enableNotifyItemType (gzXmlItemType types=XML_ITEM_DEFAULT)
gzVoid disableNotifyItemType (gzXmlItemType types)
gzBool isNotifyingItemType (gzXmlItemType type)
const gzStringgetVersion ()
const gzStringgetEncoding ()
gzBool isStandalone ()
gzBool isPlainOutput ()
gzVoid setVersion (const gzString &version)
gzVoid setEncoding (const gzString &encoding)
gzVoid setStandalone (gzBool standalone)
gzVoid setPlainOutput (gzBool plain)
virtual gzBool onVersion (const gzString &version)
virtual gzBool onEncoding (const gzString &encoding)
virtual gzBool onStandalone (gzBool standalone)
virtual gzBool onElementStart (const gzString &elementName, gzULong level)
virtual gzBool onElementAttributeEnd (const gzString &elementName, gzULong level)
virtual gzBool onElementContents (const gzString &contents, gzULong level)
virtual gzBool onElementEnd (const gzString &elementName, gzULong level)
virtual gzBool onAttribute (const gzString &attributeName, const gzString &attributeValue, gzULong level)
virtual gzBool onCharData (const gzString &charData, gzULong level)
virtual gzBool onProcessingInstruction (const gzString &target, const gzString &data, gzULong level)
virtual gzBool onCDATA (const gzString &CDATA, gzULong level)
virtual gzBool onComment (const gzString &comment, gzULong level)
virtual gzBool onDynamicType (const gzDynamicType &data, const gzString &name, gzULong level)
virtual gzBool onObject (gzObject *object, const gzString &name, gzULong level)
virtual gzBool onCustomData (gzReference *data, const gzString &elementName, gzULong level)
virtual gzVoid onWrite ()
gzVoid writeXmlHeader ()
gzVoid writeElementStart (const gzString &elementName)
gzVoid writeAttribute (const gzString &attributeName, const gzString &attributeValue)
gzVoid writeElementEnd ()
gzVoid writeCharData (const gzString &charData)
gzVoid writePI (const gzString &target, const gzString &data)
gzVoid writeCDATA (const gzString &CDATA)
gzVoid writeDynamicType (const gzDynamicType &data, const gzString &attribName=GZ_EMPTY_STRING)
gzVoid writeObject (const gzObject *object, const gzString &objectName=GZ_EMPTY_STRING)
gzVoid writeComment (const gzString &comment)
gzVoid writeCustomData (const gzString &elementName, const gzReference *data)
gzVoid writeCharDataElement (const gzString &elementName, const gzString &elementData)
gzString getCurrentAttribute (const gzString &attributeName)
gzVoid beginElementContents ()
gzBool useBase64 ()
gzVoid useBase64 (gzBool on)
gzString getCurrentElementName ()
gzRefDict< gzString, gzRefData<
gzString > > 
getCurrentAttributeSet ()

Static Public Member Functions

static gzVoid registerDynamicTypeInterface (const gzString &typeName, gzXmlDynamicTypeInterface *iface)
static gzVoid unregisterDynamicTypeInterface (gzXmlDynamicTypeInterface *iface)
static gzXmlDynamicTypeInterfacegetDynamicTypeInterface (const gzString &type)
static gzVoid registerObjectInterface (const gzString &typeName, gzXmlObjectInterface *iface)
static gzVoid unregisterObjectInterface (gzXmlObjectInterface *iface)
static gzXmlObjectInterfacegetObjectInterface (const gzString &typeName)
static gzVoid registerCustomDataInterface (const gzString &typeName, gzXmlCustomDataInterface *iface)
static gzVoid unregisterCustomDataInterface (gzXmlCustomDataInterface *iface)
static gzXmlCustomDataInterfacegetCustomDataInterface (const gzString &typeName)

Public Attributes

 XML_READ_RULES

Detailed Description

Definition at line 92 of file gzXML.h.


Constructor & Destructor Documentation

gzXmlSax::gzXmlSax  ) 
 

virtual gzXmlSax::~gzXmlSax  )  [virtual]
 


Member Function Documentation

gzVoid gzXmlSax::beginElementContents  ) 
 

gzVoid gzXmlSax::disableNotifyItemType gzXmlItemType  types  ) 
 

gzVoid gzXmlSax::enableNotifyItemType gzXmlItemType  types = XML_ITEM_DEFAULT  ) 
 

gzString gzXmlSax::getCurrentAttribute const gzString attributeName  ) 
 

gzRefDict<gzString,gzRefData<gzString> > gzXmlSax::getCurrentAttributeSet  ) 
 

gzString gzXmlSax::getCurrentElementName  ) 
 

static gzXmlCustomDataInterface* gzXmlSax::getCustomDataInterface const gzString typeName  )  [static]
 

virtual gzULong gzXmlSax::getDataSize gzSerializeAdapter adapter = NULL  )  const [virtual]
 

Implements gzSerializeData.

Reimplemented in gzXmlDom.

static gzXmlDynamicTypeInterface* gzXmlSax::getDynamicTypeInterface const gzString type  )  [static]
 

const gzString& gzXmlSax::getEncoding  ) 
 

static gzXmlObjectInterface* gzXmlSax::getObjectInterface const gzString typeName  )  [static]
 

const gzString& gzXmlSax::getVersion  ) 
 

gzBool gzXmlSax::isNotifyingItemType gzXmlItemType  type  ) 
 

gzBool gzXmlSax::isPlainOutput  ) 
 

gzBool gzXmlSax::isStandalone  ) 
 

virtual gzBool gzXmlSax::onAttribute const gzString attributeName,
const gzString attributeValue,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 151 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onCDATA const gzString CDATA,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 154 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onCharData const gzString charData,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 152 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onComment const gzString comment,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 155 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onCustomData gzReference data,
const gzString elementName,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 158 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onDynamicType const gzDynamicType data,
const gzString name,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 156 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onElementAttributeEnd const gzString elementName,
gzULong  level
[inline, virtual]
 

Definition at line 148 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onElementContents const gzString contents,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 149 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onElementEnd const gzString elementName,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 150 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onElementStart const gzString elementName,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 147 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onEncoding const gzString encoding  )  [inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 143 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onObject gzObject object,
const gzString name,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 157 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onProcessingInstruction const gzString target,
const gzString data,
gzULong  level
[inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 153 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onStandalone gzBool  standalone  )  [inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 144 of file gzXML.h.

References TRUE.

virtual gzBool gzXmlSax::onVersion const gzString version  )  [inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 142 of file gzXML.h.

References TRUE.

virtual gzVoid gzXmlSax::onWrite  )  [inline, virtual]
 

Reimplemented in gzXmlDom.

Definition at line 162 of file gzXML.h.

virtual gzVoid gzXmlSax::pushBack gzSerializeAdapter adapter  )  [virtual]
 

Implements gzSerializeData.

Reimplemented in gzXmlDom.

virtual gzVoid gzXmlSax::read gzSerializeAdapter adapter  )  [virtual]
 

Implements gzSerializeData.

Reimplemented in gzXmlDom.

static gzVoid gzXmlSax::registerCustomDataInterface const gzString typeName,
gzXmlCustomDataInterface iface
[static]
 

static gzVoid gzXmlSax::registerDynamicTypeInterface const gzString typeName,
gzXmlDynamicTypeInterface iface
[static]
 

static gzVoid gzXmlSax::registerObjectInterface const gzString typeName,
gzXmlObjectInterface iface
[static]
 

gzVoid gzXmlSax::setEncoding const gzString encoding  ) 
 

gzVoid gzXmlSax::setPlainOutput gzBool  plain  ) 
 

gzVoid gzXmlSax::setStandalone gzBool  standalone  ) 
 

gzVoid gzXmlSax::setVersion const gzString version  ) 
 

static gzVoid gzXmlSax::unregisterCustomDataInterface gzXmlCustomDataInterface iface  )  [static]
 

static gzVoid gzXmlSax::unregisterDynamicTypeInterface gzXmlDynamicTypeInterface iface  )  [static]
 

static gzVoid gzXmlSax::unregisterObjectInterface gzXmlObjectInterface iface  )  [static]
 

gzVoid gzXmlSax::useBase64 gzBool  on  ) 
 

gzBool gzXmlSax::useBase64  ) 
 

virtual gzVoid gzXmlSax::write gzSerializeAdapter adapter  )  [virtual]
 

Implements gzSerializeData.

Reimplemented in gzXmlDom.

gzVoid gzXmlSax::writeAttribute const gzString attributeName,
const gzString attributeValue
 

gzVoid gzXmlSax::writeCDATA const gzString CDATA  ) 
 

gzVoid gzXmlSax::writeCharData const gzString charData  ) 
 

gzVoid gzXmlSax::writeCharDataElement const gzString elementName,
const gzString elementData
 

gzVoid gzXmlSax::writeComment const gzString comment  ) 
 

gzVoid gzXmlSax::writeCustomData const gzString elementName,
const gzReference data
 

gzVoid gzXmlSax::writeDynamicType const gzDynamicType data,
const gzString attribName = GZ_EMPTY_STRING
 

gzVoid gzXmlSax::writeElementEnd  ) 
 

gzVoid gzXmlSax::writeElementStart const gzString elementName  ) 
 

gzVoid gzXmlSax::writeObject const gzObject object,
const gzString objectName = GZ_EMPTY_STRING
 

gzVoid gzXmlSax::writePI const gzString target,
const gzString data
 

gzVoid gzXmlSax::writeXmlHeader  ) 
 


Member Data Documentation

gzXmlSax::XML_READ_RULES
 

Definition at line 183 of file gzXML.h.


The documentation for this class was generated from the following file:
Documentation for Gizmo3D generated at Wed Feb 20 11:54:28 2008 by   Saab Training Systems AB, ¸ (c) 2003-and beyond