void setAnyAttribute(AnyAttribute *a)
It sets the anyAttribute to this restriction.
AnyAttribute * getAnyAttribute() const
It returns the anyAttribute defined on this restriction.
~Restriction4ComplexContent()
Destructor.
Content * getContent() const
It returns the content of this restriction.
Restriction4ComplexContent(std::string *id, QName *base)
Constructor.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
A base class for elements that are not definitions nor declarations. This class is just for creating ...
The restriction class can be used to define restrictions on a complexContent.
void addAttribute(AbstractAttribute *a)
It adds an attribute to this restriction.
QName * getBase() const
It returns the name of a built-in data type, simple type or complex type that will be restricted...
void setBase(QName *base)
It sets the name of a built-in data type, simple type or complex type that will be restricted...
void setContent(Content *c)
It sets the group content. It can be one of: group |all | choice | sequence.