Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XSDType Class Reference

#include <XSDType.h>

Inheritance diagram for XSDType:

Inheritance graph
[legend]
List of all members.

Public Member Functions

std::string getName () const
std::string getNamespace () const
Qname getQname () const
Schema::ContentModelType getContentModel () const
int getTypeId () const
int getBaseTypeId () const
Schema::Derivation getBaseDerivation () const
Constructors and Destructors
 XSDType (const std::string &ns)
 XSDType ()
virtual ~XSDType ()
isAnonymous
is this an anonymous type ,created inside an element or group

Returns:
bool


bool isAnonymous () const
isSimple
IS this a simple type or not

Returns:
bool


virtual bool isSimple () const =0
isSimple
IS this a simple type or not

Returns:
bool


virtual void setName (std::string)
 Various setter methods.
virtual void setContentModel (Schema::ContentModelType)
virtual void setTypeId (int)
virtual void setAnonymous (bool)
void setBaseType (int id, Schema::Derivation type=Schema::Restriction)

Constructor & Destructor Documentation

XSDType::XSDType const std::string &  ns  )  [inline]
 

Parameters:
the namespace uri of the type

XSDType::XSDType  )  [inline]
 

virtual XSDType::~XSDType  )  [inline, virtual]
 


Member Function Documentation

string XSDType::getName  )  const [inline]
 

getName

Returns:
NCName of the type

std::string XSDType::getNamespace  )  const [inline]
 

getNamespace

Returns:
namespace this type belongs to

Qname XSDType::getQname  )  const [inline]
 

getQName

Returns:
QName (namespace qualified name)of the simple type

Schema::ContentModelType XSDType::getContentModel  )  const [inline]
 

getContentModel

Returns:
content model which is simple,complex or mixed or none

int XSDType::getTypeId  )  const [inline]
 

getTypeId

Returns:
the unique type id

int XSDType::getBaseTypeId  )  const [inline]
 

getBaseTypeId

Returns:
the unique type id of this type's base type default is anyType

Schema::Derivation XSDType::getBaseDerivation  )  const [inline]
 

getBaseDerivation

Returns:
Extension or Derivation

bool XSDType::isAnonymous  )  const [inline]
 

virtual bool XSDType::isSimple  )  const [pure virtual]
 

Implemented in ComplexType, and SimpleType.

void XSDType::setName std::string   )  [inline, virtual]
 

Various setter methods.

void XSDType::setContentModel Schema::ContentModelType   )  [inline, virtual]
 

void XSDType::setTypeId int   )  [inline, virtual]
 

void XSDType::setAnonymous bool   )  [inline, virtual]
 

void XSDType::setBaseType int  id,
Schema::Derivation  type = Schema::Restriction
[inline]
 


The documentation for this class was generated from the following file:
Generated on Sun Oct 16 10:11:52 2005 for wsdlpull by  doxygen 1.3.9.1