summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/aelfred2/SAXDriver.h
blob: aca07f72775ceb40a97014eb3e7664ee0009e297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_aelfred2_SAXDriver__
#define __gnu_xml_aelfred2_SAXDriver__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace aelfred2
      {
          class SAXDriver;
          class XmlParser;
      }
    }
  }
  namespace org
  {
    namespace xml
    {
      namespace sax
      {
          class ContentHandler;
          class DTDHandler;
          class DocumentHandler;
          class EntityResolver;
          class ErrorHandler;
          class InputSource;
        namespace ext
        {
            class DeclHandler;
            class DefaultHandler2;
            class EntityResolver2;
            class LexicalHandler;
        }
        namespace helpers
        {
            class NamespaceSupport;
        }
      }
    }
  }
}

class gnu::xml::aelfred2::SAXDriver : public ::java::lang::Object
{

public:
  SAXDriver();
private:
  void reset();
public:
  void setLocale(::java::util::Locale *);
  ::org::xml::sax::EntityResolver * getEntityResolver();
  void setEntityResolver(::org::xml::sax::EntityResolver *);
  ::org::xml::sax::DTDHandler * getDTDHandler();
  void setDTDHandler(::org::xml::sax::DTDHandler *);
  void setDocumentHandler(::org::xml::sax::DocumentHandler *);
  ::org::xml::sax::ContentHandler * getContentHandler();
  void setContentHandler(::org::xml::sax::ContentHandler *);
  void setErrorHandler(::org::xml::sax::ErrorHandler *);
  ::org::xml::sax::ErrorHandler * getErrorHandler();
  void parse(::org::xml::sax::InputSource *);
  void parse(::java::lang::String *);
  jboolean getFeature(::java::lang::String *);
public: // actually package-private
  ::org::xml::sax::ext::DeclHandler * getDeclHandler();
  jboolean resolveURIs();
public:
  ::java::lang::Object * getProperty(::java::lang::String *);
  void setFeature(::java::lang::String *, jboolean);
  void setProperty(::java::lang::String *, ::java::lang::Object *);
public: // actually package-private
  void startDocument();
  void skippedEntity(::java::lang::String *);
  ::org::xml::sax::InputSource * getExternalSubset(::java::lang::String *, ::java::lang::String *);
  ::org::xml::sax::InputSource * resolveEntity(jboolean, ::java::lang::String *, ::org::xml::sax::InputSource *, ::java::lang::String *);
  ::java::lang::String * absolutize(::java::lang::String *, ::java::lang::String *, jboolean);
  void startExternalEntity(::java::lang::String *, ::java::lang::String *, jboolean);
  void endExternalEntity(::java::lang::String *);
  void startInternalEntity(::java::lang::String *);
  void endInternalEntity(::java::lang::String *);
  void doctypeDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void notationDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void unparsedEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  void endDoctype();
private:
  void declarePrefix(::java::lang::String *, ::java::lang::String *);
public: // actually package-private
  void attribute(::java::lang::String *, ::java::lang::String *, jboolean);
  void startElement(::java::lang::String *);
  void endElement(::java::lang::String *);
  void startCDATA();
  void charData(JArray< jchar > *, jint, jint);
  void endCDATA();
  void ignorableWhitespace(JArray< jchar > *, jint, jint);
  void processingInstruction(::java::lang::String *, ::java::lang::String *);
  void comment(JArray< jchar > *, jint, jint);
  void fatal(::java::lang::String *);
  void verror(::java::lang::String *);
  void warn(::java::lang::String *);
public:
  jint getLength();
  ::java::lang::String * getURI(jint);
  ::java::lang::String * getLocalName(jint);
  ::java::lang::String * getQName(jint);
  ::java::lang::String * getName(jint);
  ::java::lang::String * getType(jint);
  ::java::lang::String * getValue(jint);
  jint getIndex(::java::lang::String *, ::java::lang::String *);
  jint getIndex(::java::lang::String *);
  ::java::lang::String * getType(::java::lang::String *, ::java::lang::String *);
  ::java::lang::String * getType(::java::lang::String *);
  ::java::lang::String * getValue(::java::lang::String *, ::java::lang::String *);
  ::java::lang::String * getValue(::java::lang::String *);
  jboolean isDeclared(jint);
  jboolean isDeclared(::java::lang::String *);
  jboolean isDeclared(::java::lang::String *, ::java::lang::String *);
  jboolean isSpecified(jint);
  jboolean isSpecified(::java::lang::String *, ::java::lang::String *);
  jboolean isSpecified(::java::lang::String *);
  ::java::lang::String * getPublicId();
  ::java::lang::String * getSystemId();
  jint getLineNumber();
  jint getColumnNumber();
private:
  ::org::xml::sax::ext::DefaultHandler2 * __attribute__((aligned(__alignof__( ::java::lang::Object)))) base;
  ::gnu::xml::aelfred2::XmlParser * parser;
  ::org::xml::sax::EntityResolver * entityResolver;
  ::org::xml::sax::ext::EntityResolver2 * resolver2;
  ::org::xml::sax::ContentHandler * contentHandler;
  ::org::xml::sax::DTDHandler * dtdHandler;
  ::org::xml::sax::ErrorHandler * errorHandler;
  ::org::xml::sax::ext::DeclHandler * declHandler;
  ::org::xml::sax::ext::LexicalHandler * lexicalHandler;
  ::java::lang::String * elementName;
  ::java::util::Stack * entityStack;
  ::java::util::List * attributesList;
  jboolean namespaces;
  jboolean xmlNames;
  jboolean extGE;
  jboolean extPE;
  jboolean resolveAll;
  jboolean useResolver2;
public: // actually package-private
  jboolean stringInterning;
private:
  jint attributeCount;
  jboolean attributes;
  JArray< ::java::lang::String * > * nsTemp;
  ::org::xml::sax::helpers::NamespaceSupport * prefixStack;
public: // actually package-private
  static ::java::lang::String * FEATURE;
  static ::java::lang::String * PROPERTY;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_aelfred2_SAXDriver__