Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACEXML_Validator Class Reference

An abstract virtual class defining validator interface. More...

#include "common/Validator.h"

List of all members.

Public Methods

virtual ~ACEXML_Validator ()=0
virtual int startElement (ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))=0
virtual int nextElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))=0

Detailed Description

An abstract virtual class defining validator interface.

An validator provides validation service for one XML element. ACEXML_Validators are stateful object. Implementations should remember the current element encountered and determine if it's a valid sequence of child elements. A parser fishes out a validator of certain

Definition at line 37 of file Validator.h.

Constructor & Destructor Documentation

ACEXML_Validator::~ACEXML_Validator   [pure virtual]

Definition at line 5 of file Validator.cpp.

00006 {
00008 }

Member Function Documentation

virtual int ACEXML_Validator::nextElement const ACEXML_Char   namespaceURI,
const ACEXML_Char   localName,
[pure virtual]

Validate the next child element.

Return values:
0  if valid, -1 otherwise.

virtual int ACEXML_Validator::startElement ACEXML_Attributes *atts    ACEXML_ENV_ARG_DECL [pure virtual]

Validate attributes of an element.

Return values:
0  if valid, -1 otherwise.

The documentation for this class was generated from the following files:
Generated on Mon Jun 16 13:27:32 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002