It models an XML Schema complexContent element.
More...
#include <ComplexContent.h>
It models an XML Schema complexContent element.
The ComplexContent element defines extensions or restrictions on a complex type that contains mixed content or elements only.
- Note
- Parent elements: complexType
Definition at line 49 of file ComplexContent.h.
Constructor.
- Parameters
-
dev | It specifies the element content and can be: restriction | extension. |
ann | An annotation. |
id | It specifies a unique ID for the element. |
- Note
- The ComplexContent object will take the ownership of the pointers.
Copy constructor.
- Parameters
-
rhs | Right-hand-side object. |
te::xsd::ComplexContent::~ComplexContent |
( |
| ) |
|
Annotation* te::xsd::Annotated::getAnnotation |
( |
| ) |
const |
|
inherited |
It returns the associated annotation.
- Returns
- The associated annotation.
std::string* te::xsd::Identifiable::getId |
( |
| ) |
const |
|
inherited |
It returns a pointer (may be NULL) to the object id.
It returns the derivation type of this ComplexContent.
- Returns
- The derivation type: restriction | extension.
bool te::xsd::ComplexContent::isMixed |
( |
| ) |
|
Assignment operator.
- Parameters
-
rhs | Right-hand-side object. |
- Returns
- A reference to this object.
void te::xsd::Annotated::setAnnotation |
( |
Annotation * |
ann | ) |
|
|
inherited |
It sets the associated annotation.
- Parameters
-
ann | The annotation to be associated to the object. The annotated class will take the ownership of the given pointer. |
void te::xsd::ComplexContent::setAsMixed |
( |
bool |
v | ) |
|
It specifies whether character data is allowed to appear between the child elements of this complexType element.
- Parameters
-
v | True indicates that character data is allowed to appear between the child elements of this complexType element. |
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. |
bool te::xsd::ComplexContent::m_mixed |
|
private |
It specifies whether character data is allowed to appear between the child elements of this complexType element. Default is false. (Optional)
Definition at line 115 of file ComplexContent.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/xsd/ComplexContent.h