MythTV  master
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
MythXSD Class Reference

#include <mythxsd.h>

Inheritance diagram for MythXSD:
Inheritance graph
[legend]
Collaboration diagram for MythXSD:
Collaboration graph
[legend]

Public Member Functions

HTTPResponse GetXSD (const HTTPRequest2 &pRequest, QString sTypeName)
 

Static Public Member Functions

static QString ConvertTypeToXSD (const QString &sType, bool bCustomType=false)
 

Protected Member Functions

bool RenderXSD (const HTTPRequest2 &pRequest, QObject *pClass)
 
bool RenderArrayXSD (const HTTPRequest2 &pRequest, const QString &sClassName, bool bCustomType)
 
bool RenderMapXSD (const HTTPRequest2 &pRequest, const QString &sClassName, bool bCustomType)
 
QDomElement CreateSchemaRoot ()
 
QDomElement CreateComplexTypeNode (QMetaObject *pMetaObject)
 

Static Protected Member Functions

static QString ReadPropertyMetadata (QObject *pObject, const QString &sPropName, const QString &sKey)
 
static bool IsNillable (const QString &sType)
 
static bool IsEnum (const QMetaProperty &metaProperty, const QString &sType)
 
static HTTPResponse Error (const HTTPRequest2 &pRequest, const QString &msg)
 

Detailed Description

Definition at line 33 of file mythxsd.h.

Member Function Documentation

◆ ReadPropertyMetadata()

QString MythXSD::ReadPropertyMetadata ( QObject *  pObject,
const QString &  sPropName,
const QString &  sKey 
)
staticprotected

Definition at line 956 of file mythxsd.cpp.

Referenced by RenderXSD().

◆ RenderXSD()

bool MythXSD::RenderXSD ( const HTTPRequest2 pRequest,
QObject *  pClass 
)
protected

Definition at line 357 of file mythxsd.cpp.

Referenced by GetXSD().

◆ RenderArrayXSD()

bool MythXSD::RenderArrayXSD ( const HTTPRequest2 pRequest,
const QString &  sClassName,
bool  bCustomType 
)
protected

Definition at line 596 of file mythxsd.cpp.

Referenced by GetXSD().

◆ RenderMapXSD()

bool MythXSD::RenderMapXSD ( const HTTPRequest2 pRequest,
const QString &  sClassName,
bool  bCustomType 
)
protected

Definition at line 710 of file mythxsd.cpp.

Referenced by GetXSD().

◆ CreateSchemaRoot()

QDomElement MythXSD::CreateSchemaRoot ( )
protected

Definition at line 858 of file mythxsd.cpp.

Referenced by RenderArrayXSD(), RenderMapXSD(), and RenderXSD().

◆ CreateComplexTypeNode()

QDomElement MythXSD::CreateComplexTypeNode ( QMetaObject *  pMetaObject)
protected

◆ IsNillable()

bool MythXSD::IsNillable ( const QString &  sType)
staticprotected

Definition at line 876 of file mythxsd.cpp.

Referenced by RenderXSD().

◆ IsEnum()

bool MythXSD::IsEnum ( const QMetaProperty &  metaProperty,
const QString &  sType 
)
staticprotected

Definition at line 570 of file mythxsd.cpp.

Referenced by RenderXSD().

◆ Error()

HTTPResponse MythXSD::Error ( const HTTPRequest2 pRequest,
const QString &  msg 
)
staticprotected

Definition at line 981 of file mythxsd.cpp.

Referenced by GetXSD().

◆ GetXSD()

HTTPResponse MythXSD::GetXSD ( const HTTPRequest2 pRequest,
QString  sTypeName 
)

Definition at line 209 of file mythxsd.cpp.

Referenced by MythHTTPService::HTTPRequest().

◆ ConvertTypeToXSD()

QString MythXSD::ConvertTypeToXSD ( const QString &  sType,
bool  bCustomType = false 
)
static

Definition at line 897 of file mythxsd.cpp.

Referenced by MythWSDL::CreateMethodType(), RenderArrayXSD(), RenderMapXSD(), and RenderXSD().


The documentation for this class was generated from the following files: