Represents an XML Schema. More...
#include <libxml++/schema.h>
List of all members.
Detailed Description
Represents an 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 = 0 , |
|
|
bool |
embed = false |
|
) |
| [explicit] |
Create a schema from a XML document.
- Parameters:
-
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. |
xmlpp::Schema::~Schema |
( |
) |
|
Member Function Documentation
_xmlSchema* xmlpp::Schema::cobj |
( |
) |
|
Access the underlying libxml implementation.
const _xmlSchema* xmlpp::Schema::cobj |
( |
) |
const |
Access the underlying libxml implementation.
Document* xmlpp::Schema::get_document |
( |
) |
|
const Document* xmlpp::Schema::get_document |
( |
) |
const |
virtual void xmlpp::Schema::release_underlying |
( |
) |
[protected, virtual] |
virtual void xmlpp::Schema::set_document |
( |
Document* |
document = 0 , |
|
|
bool |
embed = false |
|
) |
| [virtual] |
Set a new document to the schema.
- Parameters:
-
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. |
The documentation for this class was generated from the following file: