summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/stream/SAXParser.h
blob: 5624f8680aff525313e992243ba927cdcac231c0 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_stream_SAXParser__
#define __gnu_xml_stream_SAXParser__

#pragma interface

#include <javax/xml/parsers/SAXParser.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace stream
      {
          class SAXParser;
          class XMLParser;
      }
    }
  }
  namespace javax
  {
    namespace xml
    {
      namespace stream
      {
          class Location;
          class XMLEventReader;
          class XMLStreamReader;
      }
    }
  }
  namespace org
  {
    namespace xml
    {
      namespace sax
      {
          class ContentHandler;
          class DTDHandler;
          class EntityResolver;
          class ErrorHandler;
          class InputSource;
          class Parser;
          class XMLReader;
        namespace ext
        {
            class DeclHandler;
            class LexicalHandler;
        }
      }
    }
  }
}

class gnu::xml::stream::SAXParser : public ::javax::xml::parsers::SAXParser
{

public:
  SAXParser();
public: // actually package-private
  SAXParser(jboolean, jboolean, jboolean);
public:
  virtual ::org::xml::sax::Parser * getParser();
  virtual ::org::xml::sax::XMLReader * getXMLReader();
  virtual jboolean isNamespaceAware();
  virtual jboolean isValidating();
  virtual void setProperty(::java::lang::String *, ::java::lang::Object *);
  virtual ::java::lang::Object * getProperty(::java::lang::String *);
  virtual jboolean isXIncludeAware();
  virtual void reset();
  virtual jboolean getFeature(::java::lang::String *);
  virtual void setFeature(::java::lang::String *, jboolean);
  virtual void setEntityResolver(::org::xml::sax::EntityResolver *);
  virtual ::org::xml::sax::EntityResolver * getEntityResolver();
  virtual void setDTDHandler(::org::xml::sax::DTDHandler *);
  virtual ::org::xml::sax::DTDHandler * getDTDHandler();
  virtual void setContentHandler(::org::xml::sax::ContentHandler *);
  virtual ::org::xml::sax::ContentHandler * getContentHandler();
  virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
  virtual ::org::xml::sax::ErrorHandler * getErrorHandler();
  virtual void parse(::org::xml::sax::InputSource *);
private:
  jboolean isIgnorableWhitespace(::gnu::xml::stream::XMLParser *, JArray< jchar > *, jboolean);
public:
  virtual void parse(::java::lang::String *);
  virtual jint getIndex(::java::lang::String *);
  virtual jint getIndex(::java::lang::String *, ::java::lang::String *);
  virtual jint getLength();
  virtual ::java::lang::String * getLocalName(jint);
  virtual ::java::lang::String * getQName(jint);
  virtual ::java::lang::String * getType(jint);
  virtual ::java::lang::String * getType(::java::lang::String *);
  virtual ::java::lang::String * getType(::java::lang::String *, ::java::lang::String *);
  virtual ::java::lang::String * getURI(jint);
  virtual ::java::lang::String * getValue(jint);
  virtual ::java::lang::String * getValue(::java::lang::String *);
  virtual ::java::lang::String * getValue(::java::lang::String *, ::java::lang::String *);
  virtual jboolean isDeclared(jint);
  virtual jboolean isDeclared(::java::lang::String *);
  virtual jboolean isDeclared(::java::lang::String *, ::java::lang::String *);
  virtual jboolean isSpecified(jint);
  virtual jboolean isSpecified(::java::lang::String *);
  virtual jboolean isSpecified(::java::lang::String *, ::java::lang::String *);
  virtual jint getColumnNumber();
  virtual jint getLineNumber();
  virtual ::java::lang::String * getPublicId();
  virtual ::java::lang::String * getSystemId();
  virtual ::java::lang::String * getEncoding();
  virtual ::java::lang::String * getXMLVersion();
  virtual ::java::lang::Object * resolveEntity(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
  virtual ::javax::xml::stream::XMLEventReader * resolveAsXMLEventReader(::java::lang::String *);
  virtual ::javax::xml::stream::XMLStreamReader * resolveAsXMLStreamReader(::java::lang::String *);
  virtual void report(::java::lang::String *, ::java::lang::String *, ::java::lang::Object *, ::javax::xml::stream::Location *);
  static void main(JArray< ::java::lang::String * > *);
public: // actually package-private
  ::org::xml::sax::ContentHandler * __attribute__((aligned(__alignof__( ::javax::xml::parsers::SAXParser)))) contentHandler;
  ::org::xml::sax::ext::DeclHandler * declHandler;
  ::org::xml::sax::DTDHandler * dtdHandler;
  ::org::xml::sax::EntityResolver * entityResolver;
  ::org::xml::sax::ErrorHandler * errorHandler;
  ::org::xml::sax::ext::LexicalHandler * lexicalHandler;
  jboolean validating;
  jboolean namespaceAware;
  jboolean xIncludeAware;
  jboolean stringInterning;
  jboolean coalescing;
  jboolean replaceERefs;
  jboolean externalEntities;
  jboolean supportDTD;
  jboolean baseAware;
  ::gnu::xml::stream::XMLParser * parser;
  ::javax::xml::stream::XMLStreamReader * reader;
  ::java::lang::String * encoding;
  ::java::lang::String * xmlVersion;
  jboolean xmlStandalone;
  ::java::lang::String * xmlEncoding;
  ::java::lang::String * baseURI;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_stream_SAXParser__