Main Page   Class Hierarchy   Compound List   File List   Compound Members  

XMLContentModel Class Reference

List of all members.

Public Methods

virtual int validateContent (QName **const children, const unsigned int childCount, const unsigned int emptyNamespaceId) const=0
virtual int validateContentSpecial (QName **const children, const unsigned int childCount, const unsigned int emptyNamespaceId, GrammarResolver *const pGrammarResolver, XMLStringPool *const pStringPool) const=0
virtual void checkUniqueParticleAttribution (SchemaGrammar *const pGrammar, GrammarResolver *const pGrammarResolver, XMLStringPool *const pStringPool, XMLValidator *const pValidator, unsigned int *const pContentSpecOrgURI)=0
virtual ContentLeafNameTypeVector * getContentLeafNameTypeVector () const=0
virtual unsigned int getNextState (const unsigned int currentState, const unsigned int elementIndex) const=0
Destructor

Static Public Attributes

const unsigned int gInvalidTrans = 0xFFFFFFFF
const unsigned int gEOCFakeId = 0xFFFFFFF1
const unsigned int gEpsilonFakeId = 0xFFFFFFF2

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.


Member Data Documentation

const unsigned int XMLContentModel::gInvalidTrans = 0xFFFFFFFF [static]
 

Revision 1.1 2002/05/11 20:01:48 bhavani CR#CR062582# adding xercesc 1.7 file

Revision 1.1.1.1 2002/02/01 22:21:51 peiyongz sane_include

Revision 1.3 2001/05/28 20:53:35 tng Schema: move static data gInvalidTrans, gEOCFakeId, gEpsilonFakeId to XMLContentModel for others to access

Revision 1.2 2000/02/06 07:47:47 rahulj Year 2K copyright swat.

Revision 1.1.1.1 1999/11/09 01:08:30 twl Initial checkin

Revision 1.2 1999/11/08 20:44:37 rahul Swat for adding in Product name and CVS comment log variable.


The documentation for this class was generated from the following files:
Generated on Tue Nov 19 09:36:47 2002 by doxygen1.3-rc1