summaryrefslogtreecommitdiff
path: root/ACEXML/common/Validator.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-10 19:59:37 +0000
commit3df4acfa816441fc28a95dee6d0191a927145d95 (patch)
treeb5ae7ca44662cfd8e5c95f1826e4406021a606f5 /ACEXML/common/Validator.h
parent60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff)
downloadATCD-pre-subset.tar.gz
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'ACEXML/common/Validator.h')
-rw-r--r--ACEXML/common/Validator.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/ACEXML/common/Validator.h b/ACEXML/common/Validator.h
deleted file mode 100644
index fee02666088..00000000000
--- a/ACEXML/common/Validator.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Validator.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_VALIDATOR_H_
-#define _ACEXML_VALIDATOR_H_
-
-#include "ace/pre.h"
-#include "ACEXML/common/ACEXML_Export.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ACEXML/common/Attributes.h"
-#include "ACEXML/common/Env.h"
-#include "ACEXML/common/SAXExceptions.h"
-
-/**
- * @class ACEXML_Validator Validator.h "common/Validator.h"
- *
- * @brief 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
- */
-class ACEXML_Export ACEXML_Validator
-{
-public:
- virtual ~ACEXML_Validator () = 0;
-
- /**
- * Validate attributes of an element.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- virtual int startElement (ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Validate the next child element.
- *
- * @retval 0 if valid, -1 otherwise.
- */
- 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;
-};
-
-
-#include "ace/post.h"
-
-#endif /* _ACEXML_VALIDATOR_H_ */