#include <XSDType.h>
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
| |
bool | isAnonymous () const |
isSimple | |
IS this a simple type or not
| |
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) |
Definition at line 37 of file XSDType.h.
Schema::XSDType::XSDType | ( | const std::string & | ns | ) | [inline] |
std::string Schema::XSDType::getName | ( | ) | const [inline] |
getName
Definition at line 148 of file XSDType.h.
Referenced by Schema::SchemaParser::getTypeName().
std::string Schema::XSDType::getNamespace | ( | void | ) | const [inline] |
getNamespace
Definition at line 236 of file XSDType.h.
Referenced by Schema::SchemaValidator::validate().
Qname Schema::XSDType::getQname | ( | ) | const [inline] |
getQName
Definition at line 155 of file XSDType.h.
References Qname::setNamespace().
Referenced by Schema::TypesTable::addExternalTypeId(), Schema::TypesTable::addType(), and Schema::SchemaValidator::validate().
Schema::ContentModelType Schema::XSDType::getContentModel | ( | ) | const [inline] |
getContentModel
Definition at line 164 of file XSDType.h.
Referenced by Schema::SchemaParser::getBasicContentType(), WsdlPull::WsdlInvoker::setInputValue(), and Schema::SchemaValidator::validate().
int Schema::XSDType::getTypeId | ( | ) | const [inline] |
int Schema::XSDType::getBaseTypeId | ( | ) | const [inline] |
getBaseTypeId
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] |
virtual bool Schema::XSDType::isSimple | ( | ) | const [pure virtual] |
void Schema::XSDType::setName | ( | std::string | name | ) | [inline, virtual] |
void Schema::XSDType::setContentModel | ( | Schema::ContentModelType | model | ) | [inline, virtual] |
Definition at line 229 of file XSDType.h.
Referenced by Schema::ComplexType::ComplexType(), and Schema::SimpleType::SimpleType().
void Schema::XSDType::setTypeId | ( | int | id | ) | [inline, virtual] |
void Schema::XSDType::setAnonymous | ( | bool | flag | ) | [inline, virtual] |
void Schema::XSDType::setBaseType | ( | int | id, | |
Schema::Derivation | type = Schema::Restriction | |||
) | [inline] |
void Schema::XSDType::setBaseTypeNamespace | ( | std::string | ns | ) |