Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / org / xml / sax / helpers / XMLReaderAdapter.h
blob9d76f2e7361d2fde5ab92affed6405bf7dea85cd
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __org_xml_sax_helpers_XMLReaderAdapter__
5 #define __org_xml_sax_helpers_XMLReaderAdapter__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace org
16 namespace xml
18 namespace sax
20 class Attributes;
21 class DTDHandler;
22 class DocumentHandler;
23 class EntityResolver;
24 class ErrorHandler;
25 class InputSource;
26 class Locator;
27 class XMLReader;
28 namespace helpers
30 class XMLReaderAdapter;
31 class XMLReaderAdapter$AttributesAdapter;
38 class org::xml::sax::helpers::XMLReaderAdapter : public ::java::lang::Object
41 public:
42 XMLReaderAdapter();
43 XMLReaderAdapter(::org::xml::sax::XMLReader *);
44 private:
45 void setup(::org::xml::sax::XMLReader *);
46 public:
47 virtual void setLocale(::java::util::Locale *);
48 virtual void setEntityResolver(::org::xml::sax::EntityResolver *);
49 virtual void setDTDHandler(::org::xml::sax::DTDHandler *);
50 virtual void setDocumentHandler(::org::xml::sax::DocumentHandler *);
51 virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
52 virtual void parse(::java::lang::String *);
53 virtual void parse(::org::xml::sax::InputSource *);
54 private:
55 void setupXMLReader();
56 public:
57 virtual void setDocumentLocator(::org::xml::sax::Locator *);
58 virtual void startDocument();
59 virtual void endDocument();
60 virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *);
61 virtual void endPrefixMapping(::java::lang::String *);
62 virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
63 virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
64 virtual void characters(JArray< jchar > *, jint, jint);
65 virtual void ignorableWhitespace(JArray< jchar > *, jint, jint);
66 virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
67 virtual void skippedEntity(::java::lang::String *);
68 public: // actually package-private
69 ::org::xml::sax::XMLReader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) xmlReader;
70 ::org::xml::sax::DocumentHandler * documentHandler;
71 ::org::xml::sax::helpers::XMLReaderAdapter$AttributesAdapter * qAtts;
72 public:
73 static ::java::lang::Class class$;
76 #endif // __org_xml_sax_helpers_XMLReaderAdapter__