46 bool isSimple()
const;
49 int getContentType()
const;
52 int getNumAttributes()
const;
55 int getAttributeType(
int index);
58 std::string getAttributeName(
int index)
const;
64 const Attribute *getAttribute(
const std::string & name)
const;
66 const Attribute *getAttribute(
int index)
const;
68 std::list < Attribute > & pAttributeList() ;
74 void setSimpleContentType(
int id);
81 void addAttributeGroupName(
const Qname & qn);
83 void matchAttributeRef(
const std::string & name,
Attribute & a);
84 void matchElementRef(
const std::string & name,
Element & e);
90 void print(std::ostream & out);
94 std::list < Attribute > attList_;
95 int simpleContentTypeId_;
97 void error(std::string msg)
const;
98 bool fwdElemRef_, fwdAttrRef_;
106 return simpleContentTypeId_;
120 return attList_.size();
138std::list < Attribute > &
149 simpleContentTypeId_ = id;
std::string getName() const
std::list< Attribute > & pAttributeList()
int getAttributeType(int index)
ContentModel * getContents() const
void setSimpleContentType(int id)
int getNumAttributes() const
bool checkOccurrences(void)
std::string getAttributeName(int index) const
void setContents(ContentModel *ct)
const Attribute * getAttribute(const std::string &name) const
int getContentType() const