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

#include <libmythupnp/xsd.h>

Inheritance diagram for Xsd:
[legend]
Collaboration diagram for Xsd:
[legend]

Public Member Functions

bool GetXSD (HTTPRequest *pRequest, QString sTypeName)
 
bool GetEnumXSD (HTTPRequest *pRequest, const QString &sEnumName)
 

Static Public Member Functions

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

Protected Member Functions

bool RenderXSD (HTTPRequest *pRequest, QObject *pClass)
 
bool RenderArrayXSD (HTTPRequest *pRequest, const QString &sClassName, bool bCustomType)
 
bool RenderMapXSD (HTTPRequest *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)
 

Detailed Description

Definition at line 33 of file xsd.h.

Member Function Documentation

◆ ReadPropertyMetadata()

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

Definition at line 921 of file xsd.cpp.

Referenced by RenderXSD().

◆ RenderXSD()

bool Xsd::RenderXSD ( HTTPRequest pRequest,
QObject *  pClass 
)
protected

Definition at line 342 of file xsd.cpp.

Referenced by GetXSD().

◆ RenderArrayXSD()

bool Xsd::RenderArrayXSD ( HTTPRequest pRequest,
const QString &  sClassName,
bool  bCustomType 
)
protected

Definition at line 579 of file xsd.cpp.

Referenced by GetXSD().

◆ RenderMapXSD()

bool Xsd::RenderMapXSD ( HTTPRequest pRequest,
const QString &  sClassName,
bool  bCustomType 
)
protected

Definition at line 690 of file xsd.cpp.

Referenced by GetXSD().

◆ CreateSchemaRoot()

QDomElement Xsd::CreateSchemaRoot ( )
protected

Definition at line 833 of file xsd.cpp.

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

◆ CreateComplexTypeNode()

QDomElement Xsd::CreateComplexTypeNode ( QMetaObject *  pMetaObject)
protected

◆ IsNillable()

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

Definition at line 851 of file xsd.cpp.

Referenced by RenderXSD().

◆ IsEnum()

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

Definition at line 553 of file xsd.cpp.

Referenced by RenderXSD().

◆ GetXSD()

bool Xsd::GetXSD ( HTTPRequest pRequest,
QString  sTypeName 
)

Definition at line 204 of file xsd.cpp.

Referenced by ServiceHost::ProcessRequest().

◆ GetEnumXSD()

bool Xsd::GetEnumXSD ( HTTPRequest pRequest,
const QString &  sEnumName 
)

Definition at line 25 of file xsd.cpp.

Referenced by ServiceHost::ProcessRequest().

◆ ConvertTypeToXSD()

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

Definition at line 872 of file xsd.cpp.

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


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