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

Schema::XSDType Class Reference

#include <XSDType.h>

Inheritance diagram for Schema::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)
void setBaseTypeNamespace (std::string ns)

Constructor & Destructor Documentation

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

Parameters:
the namespace uri of the type

Schema::XSDType::XSDType  )  [inline]
 

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


Member Function Documentation

std::string Schema::XSDType::getName  )  const [inline]
 

getName

Returns:
NCName of the type

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

getNamespace

Returns:
namespace this type belongs to

Qname Schema::XSDType::getQname  )  const [inline]
 

getQName

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

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

getContentModel

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

int Schema::XSDType::getTypeId  )  const [inline]
 

getTypeId

Returns:
the unique type id

int Schema::XSDType::getBaseTypeId  )  const [inline]
 

getBaseTypeId

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

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

getBaseDerivation

Returns:
Extension or Derivation

bool Schema::XSDType::isAnonymous  )  const [inline]
 

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

Implemented in Schema::ComplexType, and Schema::SimpleType.

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

Various setter methods.

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

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

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

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

void Schema::XSDType::setBaseTypeNamespace std::string  ns  ) 
 


The documentation for this class was generated from the following file:
Generated on Sun Apr 2 18:12:20 2006 for wsdlpull by  doxygen 1.3.9.1