It models the XML Schema any element.
More...
#include <Any.h>
|
static const unsigned int | unbounded |
| Identifer for "unbounded" max values. More...
|
|
|
unsigned int | m_maxOccurs |
| It specifies the maximum number of times the any element can occur in the parent element. The value can be any number >= 0, or if you want to set no limit on the maximum number, use the value "unbounded". Default value is 1. (Optional) More...
|
|
unsigned int | m_minOccurs |
| It specifies the minimum number of times the any element can occur in the parent element. The value can be any number >= 0. Default value is 1. (Optional) More...
|
|
|
std::string * | m_namespace |
| It specifies the namespaces containing the elements that can be used. (Optional) More...
|
|
ProcessContents | m_pContents |
| It specifies how the XML processor should handle validation against the elements specified by this any element. (Optional) More...
|
|
It models the XML Schema any element.
The any element can be used to extend the XML document with elements not specified by the schema.
Definition at line 49 of file Any.h.
te::xsd::Any::Any |
( |
Annotation * |
ann = 0 , |
|
|
std::string * |
id = 0 |
|
) |
| |
Constructor.
- Parameters
-
ann | An annotation. |
id | It specifies a unique ID for the element. |
- Note
- The Any object will take the ownership of the annotation and id.
te::xsd::Any::Any |
( |
const Any & |
rhs | ) |
|
Copy constructor.
- Parameters
-
rhs | Right-hand-side object. |
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.
const unsigned int te::xsd::Occurs::getMaxOccurs |
( |
| ) |
const |
|
inherited |
It returns the maxOccurs values.
- Returns
- The maxOccurs value.
const unsigned int te::xsd::Occurs::getMinOccurs |
( |
| ) |
const |
|
inherited |
It returns the minOccurs values.
- Returns
- The minOccurs value.
std::string* te::xsd::Any::getNamespace |
( |
| ) |
const |
It returns the namespaces containing the elements that can be used.
- Returns
- The namespaces containing the elements that can be used.
It returns how the XML processor should handle validation against the elements specified by this any element.
- Returns
- The mode how the XML processor should handle validation: STRICT | LAX | SKIP.
Any& te::xsd::Any::operator= |
( |
const Any & |
rhs | ) |
|
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::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::Occurs::setMaxOccurs |
( |
unsigned int |
maxOccurs | ) |
|
|
inherited |
It sets the maxOccurs value.
- Parameters
-
maxOccurs | The maxOccurs value. The value can be any number >= 0. |
- Note
- If you want to set no limit on the maximum number, use the value "unbounded" defined as te::xsd::Occurs::unbounded.
void te::xsd::Occurs::setMinOccurs |
( |
unsigned int |
minOccurs | ) |
|
|
inherited |
It sets the minOccurs value.
- Parameters
-
minOccurs | The minOccurs value. The value can be any number >= 0. |
void te::xsd::Any::setNamespace |
( |
std::string * |
ns | ) |
|
It sets the namespaces containing the elements that can be used.
- Parameters
-
ns | The namespaces that will be used. |
- Note
- The Any object will take the ownership of the given pointer.
It sets how the XML processor should handle validation against the elements specified by this any element.
- Parameters
-
pc | It specifies how the XML processor should handle validation: STRICT | LAX | SKIP. |
unsigned int te::xsd::Occurs::m_maxOccurs |
|
protectedinherited |
It specifies the maximum number of times the any element can occur in the parent element. The value can be any number >= 0, or if you want to set no limit on the maximum number, use the value "unbounded". Default value is 1. (Optional)
Definition at line 113 of file Occurs.h.
unsigned int te::xsd::Occurs::m_minOccurs |
|
protectedinherited |
It specifies the minimum number of times the any element can occur in the parent element. The value can be any number >= 0. Default value is 1. (Optional)
Definition at line 112 of file Occurs.h.
std::string* te::xsd::Any::m_namespace |
|
private |
It specifies the namespaces containing the elements that can be used. (Optional)
Definition at line 114 of file Any.h.
It specifies how the XML processor should handle validation against the elements specified by this any element. (Optional)
Definition at line 115 of file Any.h.
const unsigned int te::xsd::Occurs::unbounded |
|
staticinherited |
Identifer for "unbounded" max values.
Definition at line 108 of file Occurs.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/xsd/Any.h