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