#ifndef QTXXML_IXMLDESERIALIZING_H
#define QTXXML_IXMLDESERIALIZING_H

#include "xmlglobal.h"
#include <QtCore>

QTX_BEGIN_NAMESPACE


class IXmlDeserializing
{
public:
    virtual ~IXmlDeserializing() {};
        
    virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer * deserializer, const QStringRef & name, const QStringRef & namespaceUri, const QXmlStreamAttributes & attributes)
    {
        Q_UNUSED(deserializer)
        Q_UNUSED(name)
        Q_UNUSED(namespaceUri)
        Q_UNUSED(attributes)
        return 0;
    }
    
    virtual void deserializeXmlEndElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri)
    {
        Q_UNUSED(deserializer)
        Q_UNUSED(name)
        Q_UNUSED(namespaceUri)
    } 
    
    virtual void deserializeXmlAttributes(XmlDeserializer *deserializer, const QXmlStreamAttributes & attributes)
    {
        Q_UNUSED(deserializer)
        Q_UNUSED(attributes)
    }
    
    virtual void deserializeXmlCharacters(XmlDeserializer *deserializer, const QStringRef & text)
    {
        Q_UNUSED(deserializer)
        Q_UNUSED(text)
    }
};


QTX_END_NAMESPACE

#endif // QTXXML_IXMLDESERIALIZING_H

#ifndef QTXXML_IXMLDESERIALIZING_H
#define QTXXML_IXMLDESERIALIZING_H

#include "xmlglobal.h"
#include <QtCore>

QTX_BEGIN_NAMESPACE


class IXmlDeserializing
{
public:
    virtual ~IXmlDeserializing() {};
        
    virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri, const QXmlStreamAttributes & attributes) = 0;
    virtual void deserializeXmlEndElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri) = 0; 
    virtual void deserializeXmlAttributes(XmlDeserializer *deserializer, const QXmlStreamAttributes & attributes) = 0;
    virtual void deserializeXmlCharacters(XmlDeserializer *deserializer, const QStringRef & text) = 0;
};


QTX_END_NAMESPACE

#endif // QTXXML_IXMLDESERIALIZING_H

--- 
+++ 
@@ -12,10 +12,33 @@
 public:
     virtual ~IXmlDeserializing() {};
         
-    virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri, const QXmlStreamAttributes & attributes) = 0;
-    virtual void deserializeXmlEndElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri) = 0; 
-    virtual void deserializeXmlAttributes(XmlDeserializer *deserializer, const QXmlStreamAttributes & attributes) = 0;
-    virtual void deserializeXmlCharacters(XmlDeserializer *deserializer, const QStringRef & text) = 0;
+    virtual IXmlDeserializing *deserializeXmlStartElement(XmlDeserializer * deserializer, const QStringRef & name, const QStringRef & namespaceUri, const QXmlStreamAttributes & attributes)
+    {
+        Q_UNUSED(deserializer)
+        Q_UNUSED(name)
+        Q_UNUSED(namespaceUri)
+        Q_UNUSED(attributes)
+        return 0;
+    }
+    
+    virtual void deserializeXmlEndElement(XmlDeserializer *deserializer, const QStringRef & name, const QStringRef & namespaceUri)
+    {
+        Q_UNUSED(deserializer)
+        Q_UNUSED(name)
+        Q_UNUSED(namespaceUri)
+    } 
+    
+    virtual void deserializeXmlAttributes(XmlDeserializer *deserializer, const QXmlStreamAttributes & attributes)
+    {
+        Q_UNUSED(deserializer)
+        Q_UNUSED(attributes)
+    }
+    
+    virtual void deserializeXmlCharacters(XmlDeserializer *deserializer, const QStringRef & text)
+    {
+        Q_UNUSED(deserializer)
+        Q_UNUSED(text)
+    }
 };
 
 
Add default implementations of IXmlDeserializing methods.
