120 return m_attributeVec;
166 m_attributeVec.clear();
184 m_attributeVec.clear();
212 m_attributeVec.push_back(a);
void setAsMixed(bool v)
It specifies whether character data is allowed to appear between the child elements of this complexTy...
void setAnyAttribute(AnyAttribute *a)
It sets the anyAttribute to this ComplexType.
It models an XML Schema complexContent element.
void setAsAbstract(bool v)
It specifies whether the element can be used in an instance of the document.
void setContent(Content *c)
It sets the ComplexType content. It can be one of: group | all | choice | sequence.
This is the base class for XML Schema Attribute classes.
An abstract class for modeling the definition of a new XML Schema Type.
SimpleContent * getSimpleContent() const
It returns the SimpleContent of this ComplexType.
It models a XML Schema Complex Type definition.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
This is the base class for XML Schema Attribute classes.
~ComplexType()
Destructor.
void setName(std::string *name)
It sets the element name.
A base class for elements that are not definitions nor declarations. This class is just for creating ...
A class that models an XML Schema simpleContent element.
void setBlock(int v)
It prevents an element with a specified type of derivation from being used in place of this element...
void setComplexContent(ComplexContent *cc)
It sets the ComplexContent to this ComplexType.
int getBlock()
It returns the block value for the CompleType.
A base class for XSD classes that must provide a unique ID property.
void addAttribute(AbstractAttribute *a)
It adds an attribute to this ComplexType.
bool isMixed()
If the CompleType is "mixed" or not.
It models an XML anyAttribute element.
AnyAttribute * getAnyAttribute() const
It returns the anyAttribute defined on this ComplexType.
ComplexType(Annotation *ann=0, std::string *id=0)
Constructor.
ComplexType & operator=(const ComplexType &rhs)
Assignment operator.
A class that models a XSD annotation element.
bool isAbstract()
If the CompleType is "abstract" or not.
const boost::ptr_vector< AbstractAttribute > & getAttributes() const
It returns the list of attributes of this ComplexType.
ComplexContent * getComplexContent() const
It returns the ComplexContent of this ComplexType.
A base class for XSD classes that may allow annotation.
void setSimpleContent(SimpleContent *sc)
It sets the SimpleContent to this ComplexType.
int getFinal()
It returns the final value for the CompleType.
Content * getContent()
It returns the content element of this ComplexType.
void setFinal(int v)
It sets the default value of the final attribute on the element element.
std::string * getName() const
It returns the element name or NULL if it doesn't have one.