QName * m_type
It specifies a built-in data type or simple type for the attribute. It is NULL if m_ref is present or...
SimpleType * getInnerType() const
It returns the simpleType element of the attribute.
AttributeUse
It specifies how the attribute is used.
void setRef(QName *ref)
It sets a reference to a named attribute.
A base class for XSD classes that may allow annotation.
AttributeUse m_use
It specifies how the attribute is used. (Optional)
QName * getType() const
It returns a built-in data type or simple type for the attribute element.
void setForm(Form f)
It sets the form property of the attribute.
Annotated & operator=(const Annotated &rhs)
Assignment operator.
Form m_form
It specifies if the attribute must be qualified or not. Default = unqualified. (Optional) ...
AttributeUse getUse() const
It returns a AttributeUse object that specifies how how the attribute is used.
std::string * getDefault() const
It returns the default value for the attribute.
It models a XML Schema SimpleType element.
std::string * m_default
It specifies a default value for the attribute (Optional).
A class to deal with XML qualified names.
void setUse(AttributeUse use)
It sets how the attribute is used.
void setDefault(std::string *def)
It returns a map with other properties of the attribute element.
This is the base class for XML Schema Attribute classes.
A base class for XSD classes that must provide a unique ID property.
It models a XML Schema attribute.
Form
It specifies the form for the attribute.
void setFixed(std::string *fix)
It sets a fixed value for the attribute.
It indicates that the attribute use is optional. This is the default.
void setName(std::string *name)
It sets a name for the attribute.
void setType(QName *type)
It sets a built-in data type or simple type for the attribute.
Identifiable & operator=(const Identifiable &rhs)
Assignment operator.
SimpleType * m_innerType
It specifies the attribute type as a simple type. It will be NULL if m_ref is present or if m_type is...
QName * m_ref
It specifies a reference to a named attribute. NULL if m_name is present. (Optional) ...
Attribute(Annotation *ann=0, std::string *id=0)
Constructor.
Form getForm() const
It returns the form property value of attribute.
QName * getRef() const
It returns the reference to a named attribute element.
A class to be used to represent XML qualified names.
AbstractAttribute * clone() const
Add a property with non-schema namespace to the attribute.
std::string * m_name
It specifies a name for the attribute. It will be NULL if m_ref is present. (Optional) ...
It indicates that the attribute attribute is not required to be qualified with the namespace prefix a...
Attribute & operator=(const Attribute &rhs)
Assignment operator.
It models a XML Schema attribute.
std::string * m_fixed
It specifies a fixed value for the attribute (Optional).
A class that models a XSD annotation element.
It models a XML Schema SimpleType element.
std::string * getName() const
It returns the name of the attribute.
std::string * getFixed() const
It returns the fixed value for the attribute.
void setInnerType(SimpleType *iType)
It sets a inner simpleType element for the attribute.