26 #ifndef __TERRALIB_XSD_INTERNAL_ELEMENT_H 
   27 #define __TERRALIB_XSD_INTERNAL_ELEMENT_H 
   37 #include <boost/ptr_container/ptr_vector.hpp> 
   44     class IdentityConstraint;
 
   65         Element(
unsigned int minOccurs = 1, 
unsigned int maxOccurs = 1, 
Annotation* ann = 0, std::string* 
id = 0);
 
   99         QName* getType() 
const;
 
  106         std::string* getDefaultValue() 
const;
 
  113         std::string* getFixedValue() 
const;
 
  143         void setType(
QName* t); 
 
  152         void setDefaultValue(std::string* v);
 
  161         void setFixedValue(std::string* v);
 
  168         void setAsNillable(
bool v);
 
  175         void setAsAbstract(
bool v);
 
  182         void setBlock(
int v);
 
  189         std::string* getName() 
const;
 
  196         QName* getRef() 
const;
 
  206         void setName(std::string* name);
 
  216         void setRef(
QName* ref);
 
  225         void setSubstitutionGroup(
QName* g);
 
  232         void setFinal(
int v);
 
  241         void setContentType(
Type* t);
 
  272 #endif  // __TERRALIB_XSD_INTERNAL_ELEMENT_H 
Type * m_contentType
A content of this element. A simpleType or complexType element can be present as a child only if both...
 
bool m_abstract
It specifies whether the element can be used in an instance document. True indicates that the element...
 
This is the base class for XML Schema elements that are related to identity constraint. 
 
A base class for XSD classes that have occurs attributes. 
 
An abstract class for modeling the definition of a new XML Schema Type. 
 
Form
It specifies the form for the attribute. 
 
Configuration flags for the XSD Module of TerraLib. 
 
A base class for XSD classes that have occurs attributes. 
 
#define TEXSDEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
This class models the element of a XML Schema. 
 
int m_block
It prevents an element with a specified type of derivation from being used in place of this element...
 
A base class for XSD classes that must provide a unique ID property. 
 
QName * m_substitutionGroup
It specifies the element that can be substituted with this element. 
 
int m_final
It sets the default value of the final attribute on the element element. 
 
A class that models a XSD annotation element. 
 
boost::ptr_vector< IdentityConstraint > m_identityConstraintVec
The list of elements related to identity constraint - (key | keyref | unique)*. (Optional) ...
 
A base class for XSD classes that must provide a unique ID property. 
 
A base class for XSD classes that may allow annotation. 
 
A class to be used to represent XML qualified names. 
 
QName * m_type
It specifies either the name of a built-in data type, or the name of a simpleType or complexType elem...
 
Form m_form
Here, "unqualified" indicates that this attribute is not required to be qualified with the namespace ...
 
std::string * m_name
It specifies a name for the element. (Optional) 
 
std::string * m_default
It specifies a default value for the element (can only be used if the element's content is a simple t...
 
std::string * m_fixed
It ensures that the elements are set to particular value. 
 
bool m_nillable
It specifies whether an explicit null value can be assigned to the element. True enables an instance ...
 
A base class for XSD classes that may allow annotation. 
 
QName * m_ref
It refers to the name of another element. The ref attribute can include a namespace prefix...