diff options
Diffstat (limited to 'ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.h')
-rw-r--r-- | ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.h | 49 |
1 files changed, 17 insertions, 32 deletions
diff --git a/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.h b/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.h index 1f7ba8381b4..88e7b8b1c1b 100644 --- a/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.h +++ b/ACE/ACEXML/examples/SAXPrint/SAXPrint_Handler.h @@ -43,14 +43,13 @@ public: */ virtual void characters (const ACEXML_Char *ch, size_t start, - size_t length - ACEXML_ENV_ARG_DECL) + size_t length) ; /* * Receive notification of the end of a document. */ - virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL) + virtual void endDocument (void) ; /* @@ -58,46 +57,40 @@ public: */ virtual void endElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, - const ACEXML_Char *qName ACEXML_ENV_ARG_DECL) - ; + const ACEXML_Char *qName); /* * End the scope of a prefix-URI mapping. */ - virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL) - ; + virtual void endPrefixMapping (const ACEXML_Char *prefix); /* * Receive notification of ignorable whitespace in element content. */ virtual void ignorableWhitespace (const ACEXML_Char *ch, int start, - int length ACEXML_ENV_ARG_DECL) - ; + int length); /* * Receive notification of a processing instruction. */ virtual void processingInstruction (const ACEXML_Char *target, - const ACEXML_Char *data ACEXML_ENV_ARG_DECL) - ; + const ACEXML_Char *data); /* * Receive an object for locating the origin of SAX document events. */ - virtual void setDocumentLocator (ACEXML_Locator *locator) ; + virtual void setDocumentLocator (ACEXML_Locator *locator); /* * Receive notification of a skipped entity. */ - virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL) - ; + virtual void skippedEntity (const ACEXML_Char *name); /* * Receive notification of the beginning of a document. */ - virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL) - ; + virtual void startDocument (void); /* * Receive notification of the beginning of an element. @@ -105,15 +98,13 @@ public: virtual void startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, - ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL) - ; + ACEXML_Attributes *atts); /* * Begin the scope of a prefix-URI Namespace mapping. */ virtual void startPrefixMapping (const ACEXML_Char *prefix, - const ACEXML_Char *uri ACEXML_ENV_ARG_DECL) - ; + const ACEXML_Char *uri); // *** Methods inherit from ACEXML_DTDHandler. @@ -122,8 +113,7 @@ public: */ virtual void notationDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, - const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL) - ; + const ACEXML_Char *systemId); /* * Receive notification of an unparsed entity declaration event. @@ -131,8 +121,7 @@ public: virtual void unparsedEntityDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId, - const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL) - ; + const ACEXML_Char *notationName); // Methods inherit from ACEXML_EnitityResolver. @@ -140,28 +129,24 @@ public: * Allow the application to resolve external entities. */ virtual ACEXML_InputSource *resolveEntity (const ACEXML_Char *publicId, - const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL) - ; + const ACEXML_Char *systemId); // Methods inherit from ACEXML_ErrorHandler. /* * Receive notification of a recoverable error. */ - virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) - ; + virtual void error (ACEXML_SAXParseException &exception); /* * Receive notification of a non-recoverable error. */ - virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) - ; + virtual void fatalError (ACEXML_SAXParseException &exception); /* * Receive notification of a warning. */ - virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) - ; + virtual void warning (ACEXML_SAXParseException &exception); void inc_indent (); void dec_indent (); |