1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_xml_stream_SAXParser__
|
5 |
|
|
#define __gnu_xml_stream_SAXParser__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/xml/parsers/SAXParser.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace xml
|
17 |
|
|
{
|
18 |
|
|
namespace stream
|
19 |
|
|
{
|
20 |
|
|
class SAXParser;
|
21 |
|
|
class XMLParser;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
namespace javax
|
26 |
|
|
{
|
27 |
|
|
namespace xml
|
28 |
|
|
{
|
29 |
|
|
namespace stream
|
30 |
|
|
{
|
31 |
|
|
class Location;
|
32 |
|
|
class XMLEventReader;
|
33 |
|
|
class XMLStreamReader;
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
namespace org
|
38 |
|
|
{
|
39 |
|
|
namespace xml
|
40 |
|
|
{
|
41 |
|
|
namespace sax
|
42 |
|
|
{
|
43 |
|
|
class ContentHandler;
|
44 |
|
|
class DTDHandler;
|
45 |
|
|
class EntityResolver;
|
46 |
|
|
class ErrorHandler;
|
47 |
|
|
class InputSource;
|
48 |
|
|
class Parser;
|
49 |
|
|
class XMLReader;
|
50 |
|
|
namespace ext
|
51 |
|
|
{
|
52 |
|
|
class DeclHandler;
|
53 |
|
|
class LexicalHandler;
|
54 |
|
|
}
|
55 |
|
|
}
|
56 |
|
|
}
|
57 |
|
|
}
|
58 |
|
|
}
|
59 |
|
|
|
60 |
|
|
class gnu::xml::stream::SAXParser : public ::javax::xml::parsers::SAXParser
|
61 |
|
|
{
|
62 |
|
|
|
63 |
|
|
public:
|
64 |
|
|
SAXParser();
|
65 |
|
|
public: // actually package-private
|
66 |
|
|
SAXParser(jboolean, jboolean, jboolean);
|
67 |
|
|
public:
|
68 |
|
|
virtual ::org::xml::sax::Parser * getParser();
|
69 |
|
|
virtual ::org::xml::sax::XMLReader * getXMLReader();
|
70 |
|
|
virtual jboolean isNamespaceAware();
|
71 |
|
|
virtual jboolean isValidating();
|
72 |
|
|
virtual void setProperty(::java::lang::String *, ::java::lang::Object *);
|
73 |
|
|
virtual ::java::lang::Object * getProperty(::java::lang::String *);
|
74 |
|
|
virtual jboolean isXIncludeAware();
|
75 |
|
|
virtual void reset();
|
76 |
|
|
virtual jboolean getFeature(::java::lang::String *);
|
77 |
|
|
virtual void setFeature(::java::lang::String *, jboolean);
|
78 |
|
|
virtual void setEntityResolver(::org::xml::sax::EntityResolver *);
|
79 |
|
|
virtual ::org::xml::sax::EntityResolver * getEntityResolver();
|
80 |
|
|
virtual void setDTDHandler(::org::xml::sax::DTDHandler *);
|
81 |
|
|
virtual ::org::xml::sax::DTDHandler * getDTDHandler();
|
82 |
|
|
virtual void setContentHandler(::org::xml::sax::ContentHandler *);
|
83 |
|
|
virtual ::org::xml::sax::ContentHandler * getContentHandler();
|
84 |
|
|
virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
|
85 |
|
|
virtual ::org::xml::sax::ErrorHandler * getErrorHandler();
|
86 |
|
|
virtual void parse(::org::xml::sax::InputSource *);
|
87 |
|
|
private:
|
88 |
|
|
jboolean isIgnorableWhitespace(::gnu::xml::stream::XMLParser *, JArray< jchar > *, jboolean);
|
89 |
|
|
public:
|
90 |
|
|
virtual void parse(::java::lang::String *);
|
91 |
|
|
virtual jint getIndex(::java::lang::String *);
|
92 |
|
|
virtual jint getIndex(::java::lang::String *, ::java::lang::String *);
|
93 |
|
|
virtual jint getLength();
|
94 |
|
|
virtual ::java::lang::String * getLocalName(jint);
|
95 |
|
|
virtual ::java::lang::String * getQName(jint);
|
96 |
|
|
virtual ::java::lang::String * getType(jint);
|
97 |
|
|
virtual ::java::lang::String * getType(::java::lang::String *);
|
98 |
|
|
virtual ::java::lang::String * getType(::java::lang::String *, ::java::lang::String *);
|
99 |
|
|
virtual ::java::lang::String * getURI(jint);
|
100 |
|
|
virtual ::java::lang::String * getValue(jint);
|
101 |
|
|
virtual ::java::lang::String * getValue(::java::lang::String *);
|
102 |
|
|
virtual ::java::lang::String * getValue(::java::lang::String *, ::java::lang::String *);
|
103 |
|
|
virtual jboolean isDeclared(jint);
|
104 |
|
|
virtual jboolean isDeclared(::java::lang::String *);
|
105 |
|
|
virtual jboolean isDeclared(::java::lang::String *, ::java::lang::String *);
|
106 |
|
|
virtual jboolean isSpecified(jint);
|
107 |
|
|
virtual jboolean isSpecified(::java::lang::String *);
|
108 |
|
|
virtual jboolean isSpecified(::java::lang::String *, ::java::lang::String *);
|
109 |
|
|
virtual jint getColumnNumber();
|
110 |
|
|
virtual jint getLineNumber();
|
111 |
|
|
virtual ::java::lang::String * getPublicId();
|
112 |
|
|
virtual ::java::lang::String * getSystemId();
|
113 |
|
|
virtual ::java::lang::String * getEncoding();
|
114 |
|
|
virtual ::java::lang::String * getXMLVersion();
|
115 |
|
|
virtual ::java::lang::Object * resolveEntity(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
116 |
|
|
virtual ::javax::xml::stream::XMLEventReader * resolveAsXMLEventReader(::java::lang::String *);
|
117 |
|
|
virtual ::javax::xml::stream::XMLStreamReader * resolveAsXMLStreamReader(::java::lang::String *);
|
118 |
|
|
virtual void report(::java::lang::String *, ::java::lang::String *, ::java::lang::Object *, ::javax::xml::stream::Location *);
|
119 |
|
|
static void main(JArray< ::java::lang::String * > *);
|
120 |
|
|
public: // actually package-private
|
121 |
|
|
::org::xml::sax::ContentHandler * __attribute__((aligned(__alignof__( ::javax::xml::parsers::SAXParser)))) contentHandler;
|
122 |
|
|
::org::xml::sax::ext::DeclHandler * declHandler;
|
123 |
|
|
::org::xml::sax::DTDHandler * dtdHandler;
|
124 |
|
|
::org::xml::sax::EntityResolver * entityResolver;
|
125 |
|
|
::org::xml::sax::ErrorHandler * errorHandler;
|
126 |
|
|
::org::xml::sax::ext::LexicalHandler * lexicalHandler;
|
127 |
|
|
jboolean validating;
|
128 |
|
|
jboolean namespaceAware;
|
129 |
|
|
jboolean xIncludeAware;
|
130 |
|
|
jboolean stringInterning;
|
131 |
|
|
jboolean coalescing;
|
132 |
|
|
jboolean replaceERefs;
|
133 |
|
|
jboolean externalEntities;
|
134 |
|
|
jboolean supportDTD;
|
135 |
|
|
jboolean baseAware;
|
136 |
|
|
::gnu::xml::stream::XMLParser * parser;
|
137 |
|
|
::javax::xml::stream::XMLStreamReader * reader;
|
138 |
|
|
::java::lang::String * encoding;
|
139 |
|
|
::java::lang::String * xmlVersion;
|
140 |
|
|
jboolean xmlStandalone;
|
141 |
|
|
::java::lang::String * xmlEncoding;
|
142 |
|
|
::java::lang::String * baseURI;
|
143 |
|
|
public:
|
144 |
|
|
static ::java::lang::Class class$;
|
145 |
|
|
};
|
146 |
|
|
|
147 |
|
|
#endif // __gnu_xml_stream_SAXParser__
|