xmlpp::Schema Class Reference

Represents XML Schema. More...

#include <libxml++/schema.h>

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=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.


Detailed Description

Represents XML Schema.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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.


Member Data Documentation

Is the base document is created with the schema.


Generated on Fri Apr 16 13:26:11 2010 for libxml++ by  doxygen 1.5.8