35 m_schemaLocation(schemaLocation)
56 return m_schemaLocation;
61 return m_annotationVec;
76 return m_attributeGroupVec;
81 m_schemaLocation = schemaLocation;
86 m_annotationVec.push_back(ann);
91 m_typeVec.push_back(t);
96 m_groupVec.push_back(g);
101 m_attributeGroupVec.push_back(ag);
It models a XML Schema attribute group.
An abstract class for modeling the definition of a new XML Schema Type.
This class models a group element in a XML Schema.
void addAttributeGroup(AttributeGroup *ag)
It inserts an attribute group into the redefine.
const boost::ptr_vector< AttributeGroup > & getAttributeGroups() const
It returns the list of attribute group declarations at redefine element.
const std::string & getSchemaLocation() const
It returns the location of the redefined schema.
It models a XML Schema redefine.
A class that models a XSD annotation element.
Redefine(const std::string &schemaLocation, std::string *id=0)
Constructor.
void addGroup(Group *g)
It inserts a group into the redefine.
Redefine & operator=(const Redefine &rhs)
Assignment operator.
void addAnnotation(Annotation *ann)
It inserts an annotation into the redefine.
It models a XML Schema redefine.
void setSchemaLocation(const std::string &schemaLocation)
It sets the location of the redefined schema.
A base class for XSD classes that must provide a unique ID property.
void addType(Type *t)
It inserts a type into the redefine.
const boost::ptr_vector< Type > & getTypes() const
It returns the list of simple and complex types at redefine element.
const boost::ptr_vector< Group > & getGroups() const
It returns the list of group declarations at redefine element.
A class that models a XSD annotation element.
This class models a group element in a XML Schema.
An abstract class for modeling the definition of a new XML Schema Type.
const boost::ptr_vector< Annotation > & getAnnotations() const
It returns the list of annotations at redefine element.