Schema::XSDType Class Reference

Inheritance diagram for Schema::XSDType:

Inheritance graph
[legend]
Collaboration diagram for Schema::XSDType:

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

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.


Member Function Documentation

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

getBaseDerivation

Returns:
Extension or Derivation

Definition at line 192 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(), and Schema::SimpleType::isValidInt().

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

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.

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

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

getTypeId

Returns:
the unique type id

Definition at line 171 of file XSDType.h.


The documentation for this class was generated from the following file:
Generated on Sun Aug 5 20:01:37 2007 for wsdlpull by  doxygen 1.4.6