#include <libxml++/schema.h>
Public Member Functions | |
Schema (_xmlSchema* schema) | |
Create a schema from the underlying libxml schema element. | |
Schema (Document* document=0, bool embed=false) | |
Create a schema from a XML document. | |
virtual void | set_document (Document* document=0, bool embed=false) |
Set a new document to the schema. | |
_xmlSchema* | cobj () |
Access the underlying libxml implementation. | |
const _xmlSchema* | cobj () const |
Access the underlying libxml implementation. | |
Private Attributes | |
bool | embedded_doc_ |
Is the base document is created with the schema. |
xmlpp::Schema::Schema | ( | Document* | document = 0 , |
|
bool | embed = false | |||
) | [explicit] |
Create a schema from a XML document.
document | XMLSchema document, 0 to create an empty schema document. | |
embed | If true, the document will be deleted when the schema is deleted or another document is set. |
const _xmlSchema* xmlpp::Schema::cobj | ( | ) | const |
Access the underlying libxml implementation.
_xmlSchema* xmlpp::Schema::cobj | ( | ) |
Access the underlying libxml implementation.
virtual void xmlpp::Schema::set_document | ( | Document* | document = 0 , |
|
bool | embed = false | |||
) | [virtual] |
Set a new document to the schema.
document | XMLSchema document, 0 to create an empty schema document. | |
embed | If true, the document will be deleted when the schema is deleted or another document is set. |
bool xmlpp::Schema::embedded_doc_ [private] |
Is the base document is created with the schema.