Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef ZORBA_DEFAULT_CONTENT_HANDLER_API_H
00017 #define ZORBA_DEFAULT_CONTENT_HANDLER_API_H
00018
00019 #include <zorba/config.h>
00020 #include <zorba/sax2.h>
00021
00022 namespace zorba{
00023
00024
00025
00026
00027
00028
00029
00030
00031 class ZORBA_DLL_PUBLIC DefaultContentHandler: public SAX2_ContentHandler,
00032 public SAX2_LexicalHandler
00033 {
00034 public:
00035 virtual
00036 ~DefaultContentHandler() {}
00037
00038 void
00039 startDocument() {}
00040
00041 void
00042 endDocument() {}
00043
00044 void
00045 startElement( const String &uri, const String &localname,
00046 const String &qname, const SAX2_Attributes& aAttrs ) {}
00047
00048 void
00049 endElement( const String &uri, const String &localname, const String &qname ) {}
00050
00051 void
00052 characters( const String & text ) {}
00053
00054 void
00055 processingInstruction( const String &target, const String &data ) {}
00056
00057 void
00058 ignorableWhitespace( const String & whitespace ) {}
00059
00060 void
00061 startPrefixMapping( const String & prefix, const String & uri ) {}
00062
00063 void
00064 endPrefixMapping( const String & prefix ) {}
00065
00066 void
00067 skippedEntity( const String & name ) {}
00068
00069 void elementDecl ( const String & name, const String & model ) {}
00070
00071 void attributeDecl ( const String & eName, const String & aName,
00072 const String & type, const String & mode,
00073 const String & value ) {}
00074
00075 void internalEntityDecl ( const String & name, const String & value ) {}
00076
00077 void externalEntityDecl ( const String & name, const String & publicId,
00078 const String & systemId ) {}
00079
00080 void notationDecl ( const String & name, const String & publicId, const String & systemId ) {}
00081
00082 void unparsedEntityDecl ( const String & name, const String & publicId,
00083 const String & systemId, const String & notationName ) {}
00084
00085 void resetDocType () {}
00086
00087 void comment ( const String & chars ) {}
00088
00089 void endCDATA () {}
00090
00091 void endDTD () {}
00092
00093 void endEntity ( const String & name ) {}
00094
00095 void startCDATA () {}
00096
00097 void startDTD ( const String & name, const String & publicId,
00098 const String & systemId ) {}
00099
00100 void startEntity ( const String & name ) {}
00101 };
00102 }
00103 #endif
00104