xmlpp::Schema Class Reference

Represents XML Schema. More...

Inheritance diagram for xmlpp::Schema:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Schema (_xmlSchema *schema)
 Create a schema from the underlying libxml schema element.
 Schema (Document *document=NULL, bool embed=false)
 Create a schema from a XML document.
 ~Schema ()
virtual void set_document (Document *document=NULL, bool embed=false)
 Set a new document to the schema.
Glib::ustring get_name () const
Glib::ustring get_target_namespace () const
Glib::ustring get_version () const
Documentget_document ()
const Documentget_document () const
_xmlSchema * cobj ()
 Access the underlying libxml implementation.
const _xmlSchema * cobj () const
 Access the underlying libxml implementation.

Protected Member Functions

virtual void release_underlying ()


Detailed Description

Represents XML Schema.

Since libxml++ 2.24:

Constructor & Destructor Documentation

xmlpp::Schema::Schema ( _xmlSchema *  schema  )  [explicit]

Create a schema from the underlying libxml schema element.

xmlpp::Schema::Schema ( Document document = NULL,
bool  embed = false 
) [explicit]

Create a schema from a XML document.

Parameters:
document XMLSchema document, NULL to create an empty schema document.
embed If true, the document will be deleted when the schema is deleted or another document is set.

xmlpp::Schema::~Schema (  ) 


Member Function Documentation

virtual void xmlpp::Schema::set_document ( Document document = NULL,
bool  embed = false 
) [virtual]

Set a new document to the schema.

Parameters:
document XMLSchema document, NULL to create an empty schema document.
embed If true, the document will be deleted when the schema is deleted or another document is set.

Glib::ustring xmlpp::Schema::get_name (  )  const

Glib::ustring xmlpp::Schema::get_target_namespace (  )  const

Glib::ustring xmlpp::Schema::get_version (  )  const

Document* xmlpp::Schema::get_document (  ) 

const Document* xmlpp::Schema::get_document (  )  const

_xmlSchema* xmlpp::Schema::cobj (  ) 

Access the underlying libxml implementation.

const _xmlSchema* xmlpp::Schema::cobj (  )  const

Access the underlying libxml implementation.

virtual void xmlpp::Schema::release_underlying (  )  [protected, virtual]


The documentation for this class was generated from the following file:

Generated on Fri Jan 9 09:41:11 2009 for libxml++ by  doxygen 1.5.6