#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) |
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] |
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 | |||
) |
void Schema::ComplexType::matchElementRef | ( | const std::string & | name, | |
Element & | e | |||
) |
bool Schema::ComplexType::checkOccurrences | ( | void | ) |
void Schema::ComplexType::resetCounters | ( | void | ) |