summaryrefslogtreecommitdiff
path: root/ACEXML/common/ContentHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/common/ContentHandler.h')
-rw-r--r--ACEXML/common/ContentHandler.h128
1 files changed, 0 insertions, 128 deletions
diff --git a/ACEXML/common/ContentHandler.h b/ACEXML/common/ContentHandler.h
deleted file mode 100644
index 682cac94e2b..00000000000
--- a/ACEXML/common/ContentHandler.h
+++ /dev/null
@@ -1,128 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file ContentHandler.h
- *
- * $Id$
- *
- * @author Nanbor Wang <nanbor@cs.wustl.edu>
- */
-//=============================================================================
-#ifndef _ACEXML_CONTENTHANDLER_H_
-#define _ACEXML_CONTENTHANDLER_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/Env.h"
-#include "ACEXML/common/SAXExceptions.h"
-#include "ACEXML/common/Locator.h"
-#include "ACEXML/common/Attributes.h"
-
-/**
- * @class ACEXML_ContentHandler ContentHandler.h "ACEXML/common/ContentHandler.h"
- *
- * @brief ACEXML_ContentHandler
- *
- * This is the main interface that most SAX applications implement: if the
- * application needs to be informed of basic parsing events, it implements
- * this interface and registers an instance with the SAX parser using the
- * setContentHandler method. The parser uses the instance to report basic
- * document-related events like the start and end of elements and character
- * data.
- *
- * The order of events in this interface is very important, and mirrors the
- * order of information in the document itself. For example, all of an
- * element's content (character data, processing instructions, and/or
- * subelements) will appear, in order, between the startElement event and
- * the corresponding endElement event.
- */
-class ACEXML_Export ACEXML_ContentHandler
-{
-public:
- /**
- * Receive notification of character data.
- */
- virtual void characters (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of the end of a document.
- */
- virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of the end of an element.
- */
- virtual void endElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * End the scope of a prefix-URI mapping.
- */
- virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of ignorable whitespace in element content.
- */
- virtual void ignorableWhitespace (const ACEXML_Char *ch,
- int start,
- int length ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of a processing instruction.
- */
- virtual void processingInstruction (const ACEXML_Char *target,
- const ACEXML_Char *data ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive an object for locating the origin of SAX document events.
- */
- virtual void setDocumentLocator (ACEXML_Locator *locator) = 0;
-
- /**
- * Receive notification of a skipped entity.
- */
- virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of the beginning of a document.
- */
- virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Receive notification of the beginning of an element.
- */
- virtual void startElement (const ACEXML_Char *namespaceURI,
- const ACEXML_Char *localName,
- const ACEXML_Char *qName,
- ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-
- /**
- * Begin the scope of a prefix-URI Namespace mapping.
- */
- virtual void startPrefixMapping (const ACEXML_Char *prefix,
- const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)
- ACE_THROW_SPEC ((ACEXML_SAXException)) = 0;
-};
-
-#include /**/ "ace/post.h"
-
-
-#endif /* _ACEXML_CONTENTHANDLER_H_ */