It models a XML Schema redefine.
More...
#include <Redefine.h>
It models a XML Schema redefine.
- Note
- Parent elements: schema.
Definition at line 52 of file Redefine.h.
te::xsd::Redefine::Redefine |
( |
const std::string & |
schemaLocation, |
|
|
std::string * |
id = 0 |
|
) |
| |
Constructor.
- Parameters
-
schemaLocation | It specifies the URI to the location of a schema document. |
id | It specifies a unique ID for the element. It can be a NULL value. |
te::xsd::Redefine::Redefine |
( |
const Redefine & |
rhs | ) |
|
Copy constructor.
- Parameters
-
rhs | Right-hand-side object. |
te::xsd::Redefine::~Redefine |
( |
| ) |
|
void te::xsd::Redefine::addAnnotation |
( |
Annotation * |
ann | ) |
|
It inserts an annotation into the redefine.
- Parameters
-
- Note
- The redefine will take the ownership of the given pointer.
It inserts an attribute group into the redefine.
- Parameters
-
- Note
- The redefine will take the ownership of the given pointer.
void te::xsd::Redefine::addGroup |
( |
Group * |
g | ) |
|
It inserts a group into the redefine.
- Parameters
-
- Note
- The redefine will take the ownership of the given pointer.
void te::xsd::Redefine::addType |
( |
Type * |
t | ) |
|
It inserts a type into the redefine.
- Parameters
-
- Note
- The redefine will take the ownership of the given pointer.
const boost::ptr_vector<Annotation>& te::xsd::Redefine::getAnnotations |
( |
| ) |
const |
It returns the list of annotations at redefine element.
- Returns
- The list of annotations at redefine element.
const boost::ptr_vector<AttributeGroup>& te::xsd::Redefine::getAttributeGroups |
( |
| ) |
const |
It returns the list of attribute group declarations at redefine element.
- Returns
- The list of attribute group declarations at redefine element.
const boost::ptr_vector<Group>& te::xsd::Redefine::getGroups |
( |
| ) |
const |
It returns the list of group declarations at redefine element.
- Returns
- The list of group declarations at redefine element.
std::string* te::xsd::Identifiable::getId |
( |
| ) |
const |
|
inherited |
It returns a pointer (may be NULL) to the object id.
const std::string& te::xsd::Redefine::getSchemaLocation |
( |
| ) |
const |
It returns the location of the redefined schema.
- Returns
- The schema location.
const boost::ptr_vector<Type>& te::xsd::Redefine::getTypes |
( |
| ) |
const |
It returns the list of simple and complex types at redefine element.
- Returns
- The list of simple and complex types at redefine element.
Assignment operator.
- Parameters
-
rhs | Right-hand-side object. |
- Returns
- A reference to this object.
void te::xsd::Identifiable::setId |
( |
std::string * |
id | ) |
|
|
inherited |
it sets the id.
- Parameters
-
id | The id to be associated to the object. It will take the ownership of the given string. |
void te::xsd::Redefine::setSchemaLocation |
( |
const std::string & |
schemaLocation | ) |
|
It sets the location of the redefined schema.
- Parameters
-
schemaLocation | The schema location. |
boost::ptr_vector<Annotation> te::xsd::Redefine::m_annotationVec |
|
private |
The list of annotations at redefine element. (Optional)
Definition at line 168 of file Redefine.h.
boost::ptr_vector<AttributeGroup> te::xsd::Redefine::m_attributeGroupVec |
|
private |
The list of attribute group declarations at redefine element. (Optional)
Definition at line 171 of file Redefine.h.
boost::ptr_vector<Group> te::xsd::Redefine::m_groupVec |
|
private |
The list of group declarations at redefine element. (Optional)
Definition at line 170 of file Redefine.h.
std::string te::xsd::Redefine::m_schemaLocation |
|
private |
It specifies a URI to the location of a schema document. (Required)
Definition at line 167 of file Redefine.h.
boost::ptr_vector<Type> te::xsd::Redefine::m_typeVec |
|
private |
The list of simple and complex types at redefine element. (Optional)
Definition at line 169 of file Redefine.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/xsd/Redefine.h