http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Installation
Build

API Docs
Samples
Programming
Migration
FAQs

Releases
Feedback
Bug-Todo

Download
CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XMLContentModel Class Reference

This class defines the abstract interface for all content models. More...

#include <XMLContentModel.hpp>

List of all members.

Public Methods

virtual bool getIsAmbiguous () const = 0
virtual int validateContent ( const unsigned int* childIds , const unsigned int childCount ) const = 0
Destructor
virtual ~XMLContentModel ()

Protected Methods

 XMLContentModel ()


Detailed Description

This class defines the abstract interface for all content models.

All elements have a content model against which (if validating) its content is checked. Each type of validator (DTD, Schema, etc...) can have different types of content models, and even with each type of validator there can be specialized content models. So this simple class provides the abstract API via which all the types of contents models are dealt with generically. Its pretty simple.


Constructor & Destructor Documentation

XMLContentModel::~XMLContentModel ( ) [virtual]
 

XMLContentModel::XMLContentModel ( ) [protected]
 


Member Function Documentation

virtual bool XMLContentModel::getIsAmbiguous ( ) const [pure virtual]
 

virtual int XMLContentModel::validateContent ( const unsigned int * childIds,
const unsigned int childCount ) const [pure virtual]
 


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


Copyright © 2000 The Apache Software Foundation. All Rights Reserved.