A class that models a XML schema (XSD).
More...
#include <Schema.h>
A class that models a XML schema (XSD).
- See also
- Identifiable, Include, Import, Redefine, Annotation, SimpleType, ComplexType, Group, AttributeGroup, Element, Attribute, Notation
Definition at line 63 of file Schema.h.
te::xsd::Schema::Schema |
( |
std::string * |
id | ) |
|
te::xsd::Schema::~Schema |
( |
| ) |
|
void te::xsd::Schema::addAnnotation |
( |
Annotation * |
a | ) |
|
void te::xsd::Schema::addComplexType |
( |
ComplexType * |
c | ) |
|
void te::xsd::Schema::addElement |
( |
Element * |
e | ) |
|
void te::xsd::Schema::addGroup |
( |
Group * |
g | ) |
|
void te::xsd::Schema::addImport |
( |
Import * |
i | ) |
|
void te::xsd::Schema::addInclude |
( |
Include * |
i | ) |
|
void te::xsd::Schema::addNamespace |
( |
const std::string & |
ns, |
|
|
const std::string & |
nsprefix |
|
) |
| |
void te::xsd::Schema::addNotation |
( |
Notation * |
n | ) |
|
void te::xsd::Schema::addRedefine |
( |
Redefine * |
r | ) |
|
void te::xsd::Schema::addSimpleType |
( |
SimpleType * |
s | ) |
|
const boost::ptr_vector<Annotation>& te::xsd::Schema::getAnnotations |
( |
| ) |
const |
Form te::xsd::Schema::getAttributeFormDefault |
( |
| ) |
const |
|
inline |
const boost::ptr_vector<AttributeGroup>& te::xsd::Schema::getAttributeGroups |
( |
| ) |
const |
int te::xsd::Schema::getBlockDefault |
( |
| ) |
const |
|
inline |
const boost::ptr_vector<ComplexType>& te::xsd::Schema::getComplexTypes |
( |
| ) |
const |
Form te::xsd::Schema::getElementFormDefault |
( |
| ) |
const |
|
inline |
const boost::ptr_vector<Element>& te::xsd::Schema::getElements |
( |
| ) |
const |
int te::xsd::Schema::getFinalDefault |
( |
| ) |
const |
|
inline |
const boost::ptr_vector<Group>& te::xsd::Schema::getGroups |
( |
| ) |
const |
std::string* te::xsd::Identifiable::getId |
( |
| ) |
const |
|
inherited |
It returns a pointer (may be NULL) to the object id.
const boost::ptr_vector<Import>& te::xsd::Schema::getImports |
( |
| ) |
const |
const boost::ptr_vector<Include>& te::xsd::Schema::getIncludes |
( |
| ) |
const |
const boost::bimap<std::string, std::string>& te::xsd::Schema::getNamespaces |
( |
| ) |
const |
|
inline |
boost::bimap<std::string, std::string>& te::xsd::Schema::getNamespaces |
( |
| ) |
|
|
inline |
const boost::ptr_vector<Notation>& te::xsd::Schema::getNotations |
( |
| ) |
const |
const boost::ptr_vector<Redefine>& te::xsd::Schema::getRedefines |
( |
| ) |
const |
const boost::ptr_vector<SimpleType>& te::xsd::Schema::getSimpleTypes |
( |
| ) |
const |
const std::string& te::xsd::Schema::getTargetNamespace |
( |
| ) |
const |
|
inline |
const std::string& te::xsd::Schema::getVersion |
( |
| ) |
const |
|
inline |
void te::xsd::Schema::setAttributeFormDefault |
( |
Form |
f | ) |
|
|
inline |
void te::xsd::Schema::setBlockDefault |
( |
int |
bdf | ) |
|
|
inline |
void te::xsd::Schema::setElementFormDefault |
( |
Form |
f | ) |
|
|
inline |
void te::xsd::Schema::setFinalDefault |
( |
int |
fdf | ) |
|
|
inline |
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::Schema::setTargetNamespace |
( |
const std::string & |
tns | ) |
|
|
inline |
void te::xsd::Schema::setVersion |
( |
const std::string & |
v | ) |
|
|
inline |
boost::ptr_vector<Annotation> te::xsd::Schema::m_annotationVec |
|
private |
The list of annotation declarations at schema root.
Definition at line 161 of file Schema.h.
Form te::xsd::Schema::m_attributeFormDefault |
|
private |
Tells if attributes declared in this schema must use the namespace prefix or not. Default: Unqualified. (Optional)
Definition at line 147 of file Schema.h.
boost::ptr_vector<AttributeGroup> te::xsd::Schema::m_attributeGroupVec |
|
private |
The list of attributes at schema root.
Definition at line 165 of file Schema.h.
The list of attributes at schema root.
Definition at line 167 of file Schema.h.
int te::xsd::Schema::m_blockDefault |
|
private |
boost::ptr_vector<ComplexType> te::xsd::Schema::m_complexTypeVec |
|
private |
The list of complex type declarations at schema root.
Definition at line 163 of file Schema.h.
Form te::xsd::Schema::m_elementFormDefault |
|
private |
Tells if elements declared in this schema must use the namespace prefix or not. Default: Unqualified. (Optional)
Definition at line 148 of file Schema.h.
boost::ptr_vector<Element> te::xsd::Schema::m_elementVec |
|
private |
The list of elements declarations at schema root.
Definition at line 166 of file Schema.h.
int te::xsd::Schema::m_finalDefault |
|
private |
boost::ptr_vector<Group> te::xsd::Schema::m_groupVec |
|
private |
The list of group declarations at schema root.
Definition at line 164 of file Schema.h.
boost::ptr_vector<Import> te::xsd::Schema::m_importVec |
|
private |
The list of import declarations at schema root.
Definition at line 159 of file Schema.h.
boost::ptr_vector<Include> te::xsd::Schema::m_includeVec |
|
private |
The list of include declarations at schema root.
Definition at line 158 of file Schema.h.
boost::ptr_vector<Notation> te::xsd::Schema::m_notationVec |
|
private |
The list of notation declarations at schema root.
Definition at line 168 of file Schema.h.
boost::ptr_vector<Redefine> te::xsd::Schema::m_redefineVec |
|
private |
The list of redefine declarations at schema root.
Definition at line 160 of file Schema.h.
boost::ptr_vector<SimpleType> te::xsd::Schema::m_simpleTypeVec |
|
private |
The list of simple type declarations at schema root.
Definition at line 162 of file Schema.h.
std::string te::xsd::Schema::m_targetNamespace |
|
private |
The URI namespace of the schema. (Mandatory)
Definition at line 153 of file Schema.h.
std::string te::xsd::Schema::m_version |
|
private |
The schema version. (Optional)
Definition at line 154 of file Schema.h.
boost::bimap<std::string, std::string> te::xsd::Schema::m_xmlns |
|
private |
A list of one or more namespaces for use in this schema. Mandatory only if attributeFormDefault or elementFormDefault is set to Qualified.
Definition at line 156 of file Schema.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/xsd/Schema.h