#include <ComplexType.h>
Public Member Functions | |
ComplexType (const std::string &) | |
~ComplexType () | |
bool | isSimple () const |
int | getContentType () const |
int | getNumAttributes () const |
int | getAttributeType (int index) |
std::string | getAttributeName (int index) const |
ContentModel * | getContents () const |
const Attribute * | getAttribute (const std::string &name) const |
const Attribute * | getAttribute (int index) const |
std::list< Attribute > & | pAttributeList () |
void | setSimpleContentType (int id) |
void | setContents (ContentModel *ct) |
void | addAttribute (const Attribute &a, bool fwdRef=false) |
void | addAttributeGroupName (const Qname &qn) |
void | matchAttributeRef (const std::string &name, Attribute &a) |
void | matchElementRef (const std::string &name, Element &e) |
bool | checkOccurrences (void) |
void | resetCounters (void) |
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 |
isAnonymous | |
bool | isAnonymous () const |
isSimple | |
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 34 of file ComplexType.h.
Schema::ComplexType::ComplexType | ( | const std::string & | ns | ) |
Definition at line 26 of file ComplexType.cpp.
References Schema::Complex, and Schema::XSDType::setContentModel().
Schema::ComplexType::~ComplexType | ( | ) | [inline] |
Definition at line 170 of file ComplexType.h.
bool Schema::ComplexType::isSimple | ( | ) | const [inline, virtual] |
Implements Schema::XSDType.
Definition at line 111 of file ComplexType.h.
int Schema::ComplexType::getContentType | ( | ) | const [inline] |
Definition at line 104 of file ComplexType.h.
Referenced by Schema::SchemaParser::getBasicContentType(), WsdlPull::WsdlInvoker::setInputValue(), and Schema::SchemaValidator::validate().
int Schema::ComplexType::getNumAttributes | ( | ) | const [inline] |
Definition at line 118 of file ComplexType.h.
Referenced by Schema::TypeContainer::getAttributeContainer().
int Schema::ComplexType::getAttributeType | ( | int | index | ) | [inline] |
Definition at line 125 of file ComplexType.h.
References getAttribute(), and Schema::Attribute::getType().
Referenced by Schema::TypeContainer::getAttributeContainer().
std::string Schema::ComplexType::getAttributeName | ( | int | index | ) | const [inline] |
Definition at line 132 of file ComplexType.h.
References getAttribute(), and Schema::Attribute::getName().
Referenced by Schema::TypeContainer::getAttributeContainer().
ContentModel * Schema::ComplexType::getContents | ( | ) | const [inline] |
Definition at line 155 of file ComplexType.h.
Referenced by Schema::TypeContainer::getValue(), Schema::TypeContainer::rewind(), and Schema::SchemaValidator::validate().
const Attribute * Schema::ComplexType::getAttribute | ( | const std::string & | name | ) | const |
Definition at line 80 of file ComplexType.cpp.
Referenced by addAttribute(), getAttributeName(), getAttributeType(), matchAttributeRef(), and Schema::SchemaValidator::validate().
const Attribute * Schema::ComplexType::getAttribute | ( | int | index | ) | const |
Definition at line 102 of file ComplexType.cpp.
std::list< Attribute > & Schema::ComplexType::pAttributeList | ( | ) | [inline] |
Definition at line 139 of file ComplexType.h.
void Schema::ComplexType::setSimpleContentType | ( | int | id | ) | [inline] |
Definition at line 147 of file ComplexType.h.
void Schema::ComplexType::setContents | ( | ContentModel * | ct | ) | [inline] |
Definition at line 163 of file ComplexType.h.
void Schema::ComplexType::addAttribute | ( | const Attribute & | a, | |
bool | fwdRef = false | |||
) |
Definition at line 38 of file ComplexType.cpp.
References getAttribute(), and Schema::Attribute::getName().
void Schema::ComplexType::addAttributeGroupName | ( | const Qname & | qn | ) |
Definition at line 53 of file ComplexType.cpp.
void Schema::ComplexType::matchAttributeRef | ( | const std::string & | name, | |
Attribute & | a | |||
) |
Definition at line 69 of file ComplexType.cpp.
References getAttribute().
Referenced by Schema::TypesTable::resolveForwardAttributeRefs().
void Schema::ComplexType::matchElementRef | ( | const std::string & | name, | |
Element & | e | |||
) |
Definition at line 61 of file ComplexType.cpp.
References Schema::ContentModel::matchforwardRef().
Referenced by Schema::TypesTable::resolveForwardElementRefs().
bool Schema::ComplexType::checkOccurrences | ( | void | ) |
void Schema::ComplexType::resetCounters | ( | void | ) |
std::string Schema::XSDType::getName | ( | ) | const [inline, inherited] |
getName
Definition at line 148 of file XSDType.h.
Referenced by Schema::SchemaParser::getTypeName().
std::string Schema::XSDType::getNamespace | ( | void | ) | const [inline, inherited] |
getNamespace
Definition at line 236 of file XSDType.h.
Referenced by Schema::SchemaParser::getType(), and Schema::SchemaValidator::validate().
Qname Schema::XSDType::getQname | ( | ) | const [inline, inherited] |
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, inherited] |
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, inherited] |
int Schema::XSDType::getBaseTypeId | ( | ) | const [inline, inherited] |
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, inherited] |
bool Schema::XSDType::isAnonymous | ( | ) | const [inline, inherited] |
void Schema::XSDType::setName | ( | std::string | name | ) | [inline, virtual, inherited] |
Definition at line 222 of file XSDType.h.
Referenced by Schema::TypesTable::addType().
void Schema::XSDType::setContentModel | ( | Schema::ContentModelType | model | ) | [inline, virtual, inherited] |
Definition at line 229 of file XSDType.h.
Referenced by ComplexType(), and Schema::SimpleType::SimpleType().
void Schema::XSDType::setTypeId | ( | int | id | ) | [inline, virtual, inherited] |
Definition at line 199 of file XSDType.h.
Referenced by Schema::TypesTable::addType().
void Schema::XSDType::setAnonymous | ( | bool | flag | ) | [inline, virtual, inherited] |
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, inherited] |
Definition at line 206 of file XSDType.h.
Referenced by Schema::SimpleType::setListType().
void Schema::XSDType::setBaseTypeNamespace | ( | std::string | ns | ) | [inherited] |