|
ACEXML
6.3.4
|
An abstract virtual class defining validator interface. More...
#include <Validator.h>
Public Member Functions | |
| virtual | ~ACEXML_Validator ()=0 |
| virtual int | startElement (ACEXML_Attributes *atts)=0 |
| virtual int | nextElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName)=0 |
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
|
pure virtual |
|
pure virtual |
Validate the next child element.
| 0 | if valid, -1 otherwise. |
|
pure virtual |
Validate attributes of an element.
| 0 | if valid, -1 otherwise. |
1.8.9.1