It models a XML Schema import. More...
#include <Import.h>
  
 Public Member Functions | |
| Annotation * | getAnnotation () const | 
| It returns the associated annotation.  More... | |
| std::string * | getId () const | 
| It returns a pointer (may be NULL) to the object id.  More... | |
| std::string * | getNamespace () const | 
| It returns the namespace URI of the imported schema.  More... | |
| std::string * | getSchemaLocation () const | 
| It returns the location of the referenced schema.  More... | |
| Import (std::string *ns, std::string *schemaLocation, Annotation *ann=0, std::string *id=0) | |
| Constructor.  More... | |
| Import (const Import &rhs) | |
| Copy constructor.  More... | |
| Import & | operator= (const Import &rhs) | 
| Assignment operator.  More... | |
| void | setAnnotation (Annotation *ann) | 
| It sets the associated annotation.  More... | |
| void | setId (std::string *id) | 
| it sets the id.  More... | |
| void | setNamespace (std::string *ns) | 
| It sets the namespace URI of the imported schema.  More... | |
| void | setSchemaLocation (std::string *schemaLocation) | 
| It sets the location of the referenced schema.  More... | |
| ~Import () | |
| Destructor.  More... | |
Private Attributes | |
| std::string * | m_namespace | 
| It specifies the URI of the namespace to import. (Optional)  More... | |
| std::string * | m_schemaLocation | 
| It specifies the URI to the schema for the imported namespace. (Optional)  More... | |
It models a XML Schema import.
| te::xsd::Import::Import | ( | std::string * | ns, | 
| std::string * | schemaLocation, | ||
| Annotation * | ann = 0,  | 
        ||
| std::string * | id = 0  | 
        ||
| ) | 
Constructor.
| id | It specifies a unique ID for the element. It can be a NULL value. | 
| ns | The URI of the namespace to import. | 
| schemaLocation | The URI to the schema for the imported namespace. | 
Definition at line 29 of file Import.cpp.
| te::xsd::Import::Import | ( | const Import & | rhs | ) | 
| te::xsd::Import::~Import | ( | ) | 
Destructor.
Definition at line 45 of file Import.cpp.
      
  | 
  inherited | 
It returns the associated annotation.
Definition at line 30 of file Annotated.cpp.
References te::xsd::Annotated::m_annotation.
      
  | 
  inherited | 
It returns a pointer (may be NULL) to the object id.
Definition at line 35 of file Identifiable.cpp.
| std::string * te::xsd::Import::getNamespace | ( | ) | const | 
It returns the namespace URI of the imported schema.
Definition at line 56 of file Import.cpp.
| std::string * te::xsd::Import::getSchemaLocation | ( | ) | const | 
It returns the location of the referenced schema.
Definition at line 61 of file Import.cpp.
| te::xsd::Import & te::xsd::Import::operator= | ( | const Import & | rhs | ) | 
Assignment operator.
| rhs | Right-hand-side object. | 
Definition at line 51 of file Import.cpp.
      
  | 
  inherited | 
It sets the associated annotation.
| ann | The annotation to be associated to the object. The annotated class will take the ownership of the given pointer. | 
Definition at line 35 of file Annotated.cpp.
Referenced by te::xsd::serialize::ReadAnnotated().
      
  | 
  inherited | 
it sets the id.
| id | The id to be associated to the object. It will take the ownership of the given string. | 
Definition at line 29 of file Identifiable.cpp.
References te::xsd::Identifiable::m_id.
Referenced by te::xsd::serialize::ReadIdentifiable().
| void te::xsd::Import::setNamespace | ( | std::string * | ns | ) | 
It sets the namespace URI of the imported schema.
| ns | A namespace URI value. | 
Definition at line 66 of file Import.cpp.
| void te::xsd::Import::setSchemaLocation | ( | std::string * | schemaLocation | ) | 
It sets the location of the referenced schema.
| schemaLocation | A schema location. | 
Definition at line 72 of file Import.cpp.
      
  | 
  private | 
      
  | 
  private |