66 return m_attributeVec;
83 m_simpleType = simpleType;
94 m_facetVec.push_back(f);
99 m_attributeVec.push_back(a);
It models a XML Schema SimpleType element.
const boost::ptr_vector< AbstractAttribute > & getAttributes() const
It returns the list of attributes of this restriction.
const boost::ptr_vector< Facet > & getFacets() const
It returns the list of facets defined on this restriction.
This class can be used to model a facet (a constraint in the range of values).
void addFacet(FacetType fType, const std::string &value)
Adds a new facet to this restriction.
This is the base class for XML Schema Attribute classes.
AnyAttribute * getAnyAttribute() const
It returns the anyAttribute defined on this restriction.
FacetType
It enumerates the available facet types.
This is the base class for XML Schema Attribute classes.
~Restriction4SimpleContent()
Destructor.
void setAnyAttribute(AnyAttribute *a)
It sets the anyAttribute to this restriction.
A base class for XSD classes that must provide a unique ID property.
It models an XML anyAttribute element.
void setBase(QName *base)
It sets the name of a built-in data type, simple type or complex type that will be restricted...
This class can be used to model a facet (a constraint in the range of values).
A class to be used to represent XML qualified names.
void addAttribute(AbstractAttribute *a)
It adds an attribute to this restriction.
A class to deal with XML qualified names.
void setSimpleType(SimpleType *simpleType)
It sets the restriction internal simple type.
Restriction4SimpleContent(std::string *id, QName *base)
Constructor.
A base class for XSD classes that may allow annotation.
QName * getBase() const
It returns the name of a built-in data type, simple type or complex type that will be restricted...