16 #include <QMetaObject>
19 #include <QDomDocument>
37 static QString ReadPropertyMetadata ( QObject *pObject,
38 const QString& sPropName,
39 const QString& sKey );
45 const QString &sClassName,
49 const QString &sClassName,
53 QDomElement CreateSchemaRoot ();
55 QDomElement CreateComplexTypeNode( QMetaObject *pMetaObject );
57 static bool IsNillable (
const QString &sType );
58 static bool IsEnum (
const QMetaProperty &metaProperty,
59 const QString &sType );
63 bool GetXSD (
HTTPRequest *pRequest, QString sTypeName );
64 bool GetEnumXSD(
HTTPRequest *pRequest,
const QString& sEnumName );
66 static QString ConvertTypeToXSD(
const QString &sType,
bool bCustomType =
false );