Schema::SchemaValidator Class Reference

Collaboration diagram for Schema::SchemaValidator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Constructors and Destructors
 SchemaValidator (const SchemaParser *sp, std::ostream &os=std::cout)
 ~SchemaValidator ()
validate
This is the main function to validate any type with its instance

Parameters:
XmlPullParser instance of the xml stream containing the instance of the schema type
pointer to the type whose instance must be validated
type container to be used (can be null)
Returns:
type container containing an instance of the schema type


TypeContainervalidate (XmlPullParser *xpp, int typeId, TypeContainer *ipTc=0)
TypeContainervalidate (const std::string &val, int typeId, TypeContainer *ipTc=0, XmlPullParser *xpp=0)
TypeContainervalidate (void *value, int typeId, TypeContainer *ipTc=0, XmlPullParser *xpp=0)
instance
This method generates instance of a type

Parameters:
The tag name of the root element
type id of the element


bool instance (const std::string &tag, Schema::Type type_id)

Detailed Description

Definition at line 34 of file SchemaValidator.h.


Constructor & Destructor Documentation

Schema::SchemaValidator::SchemaValidator const SchemaParser sp,
std::ostream &  os = std::cout
 

The constructor for SchemaValidator

Parameters:
pointer to the schema parser instance for the schema
output stream to write generated instances

Definition at line 31 of file SchemaValidator.cpp.


The documentation for this class was generated from the following files:
Generated on Sun Aug 5 20:01:36 2007 for wsdlpull by  doxygen 1.4.6