Schema::XSDType Class Reference

#include <XSDType.h>

Inheritance diagram for Schema::XSDType:

Schema::ComplexType Schema::SimpleType List of all members.

isSimple

IS this a simple type or not

Returns:
bool


virtual bool isSimple () const =0
virtual void setName (std::string)
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)

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 ()

Detailed Description

Definition at line 37 of file XSDType.h.


Constructor & Destructor Documentation

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

Parameters:
the namespace uri of the type

Definition at line 125 of file XSDType.h.

Schema::XSDType::XSDType (  )  [inline]

Parameters:
the namespace uri of the type

Definition at line 136 of file XSDType.h.

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

Parameters:
the namespace uri of the type

Definition at line 48 of file XSDType.h.


Member Function Documentation

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

getName

Returns:
NCName of the type

Definition at line 148 of file XSDType.h.

Referenced by Schema::SchemaParser::getTypeName().

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

getNamespace

Returns:
namespace this type belongs to

Definition at line 236 of file XSDType.h.

Referenced by Schema::SchemaParser::getType().

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

getQName

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

Definition at line 155 of file XSDType.h.

References Qname::setNamespace().

Referenced by Schema::TypesTable::addExternalTypeId(), and Schema::TypesTable::addType().

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

getContentModel

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

Definition at line 164 of file XSDType.h.

Referenced by WsdlPull::WsdlInvoker::setInputValue(), and Schema::SchemaValidator::validate().

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

getTypeId

Returns:
the unique type id

Definition at line 171 of file XSDType.h.

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

getBaseTypeId

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

Definition at line 185 of file XSDType.h.

Referenced by Schema::TypeContainer::getBaseTypeContainer(), Schema::SimpleType::isvalidFacet(), Schema::SimpleType::isValidInt(), and Schema::SchemaValidator::validate().

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

getBaseDerivation

Returns:
Extension or Derivation

Definition at line 192 of file XSDType.h.

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

Definition at line 178 of file XSDType.h.

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

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

Referenced by Schema::TypeContainer::getAttributeContainer(), Schema::SchemaParser::getBasicContentType(), WsdlPull::WsdlInvoker::setInputValue(), and Schema::SchemaValidator::validate().

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

Definition at line 222 of file XSDType.h.

Referenced by Schema::TypesTable::addType().

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

Definition at line 229 of file XSDType.h.

Referenced by Schema::ComplexType::ComplexType(), and Schema::SimpleType::SimpleType().

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

Definition at line 199 of file XSDType.h.

Referenced by Schema::TypesTable::addType().

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

Definition at line 215 of file XSDType.h.

Referenced by Schema::TypesTable::addType().

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

Definition at line 206 of file XSDType.h.

Referenced by Schema::SimpleType::setListType().

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


The documentation for this class was generated from the following file:
Generated on Mon Jul 19 21:21:07 2010 for wsdlpull by  doxygen 1.4.7