1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_xml_libxmlj_sax_GnomeXMLReader__
|
5 |
|
|
#define __gnu_xml_libxmlj_sax_GnomeXMLReader__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace xml
|
17 |
|
|
{
|
18 |
|
|
namespace libxmlj
|
19 |
|
|
{
|
20 |
|
|
namespace sax
|
21 |
|
|
{
|
22 |
|
|
class GnomeLocator;
|
23 |
|
|
class GnomeXMLReader;
|
24 |
|
|
class Namespaces;
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
namespace org
|
30 |
|
|
{
|
31 |
|
|
namespace xml
|
32 |
|
|
{
|
33 |
|
|
namespace sax
|
34 |
|
|
{
|
35 |
|
|
class ContentHandler;
|
36 |
|
|
class DTDHandler;
|
37 |
|
|
class EntityResolver;
|
38 |
|
|
class ErrorHandler;
|
39 |
|
|
class InputSource;
|
40 |
|
|
namespace ext
|
41 |
|
|
{
|
42 |
|
|
class DeclHandler;
|
43 |
|
|
class LexicalHandler;
|
44 |
|
|
}
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
}
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
class gnu::xml::libxmlj::sax::GnomeXMLReader : public ::java::lang::Object
|
51 |
|
|
{
|
52 |
|
|
|
53 |
|
|
public:
|
54 |
|
|
GnomeXMLReader();
|
55 |
|
|
GnomeXMLReader(jboolean, jboolean);
|
56 |
|
|
virtual ::org::xml::sax::ContentHandler * getContentHandler();
|
57 |
|
|
virtual void setContentHandler(::org::xml::sax::ContentHandler *);
|
58 |
|
|
virtual ::org::xml::sax::DTDHandler * getDTDHandler();
|
59 |
|
|
virtual void setDTDHandler(::org::xml::sax::DTDHandler *);
|
60 |
|
|
virtual ::org::xml::sax::EntityResolver * getEntityResolver();
|
61 |
|
|
virtual void setEntityResolver(::org::xml::sax::EntityResolver *);
|
62 |
|
|
virtual ::org::xml::sax::ErrorHandler * getErrorHandler();
|
63 |
|
|
virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
|
64 |
|
|
virtual jboolean getFeature(::java::lang::String *);
|
65 |
|
|
virtual void setFeature(::java::lang::String *, jboolean);
|
66 |
|
|
public: // actually package-private
|
67 |
|
|
static void checkFeatureName(::java::lang::String *);
|
68 |
|
|
public:
|
69 |
|
|
virtual ::java::lang::Object * getProperty(::java::lang::String *);
|
70 |
|
|
virtual void setProperty(::java::lang::String *, ::java::lang::Object *);
|
71 |
|
|
virtual ::org::xml::sax::ext::DeclHandler * getDeclarationHandler();
|
72 |
|
|
virtual void setDeclarationHandler(::org::xml::sax::ext::DeclHandler *);
|
73 |
|
|
virtual ::org::xml::sax::ext::LexicalHandler * getLexicalHandler();
|
74 |
|
|
virtual void setLexicalHandler(::org::xml::sax::ext::LexicalHandler *);
|
75 |
|
|
public: // actually package-private
|
76 |
|
|
static void checkPropertyName(::java::lang::String *);
|
77 |
|
|
public:
|
78 |
|
|
virtual void parse(::java::lang::String *);
|
79 |
|
|
virtual void parse(::org::xml::sax::InputSource *);
|
80 |
|
|
public: // actually package-private
|
81 |
|
|
virtual void parseStream(::java::io::InputStream *, JArray< jbyte > *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean);
|
82 |
|
|
virtual ::java::lang::String * getURI(::java::lang::String *);
|
83 |
|
|
private:
|
84 |
|
|
void startDTD(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
85 |
|
|
void externalEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
86 |
|
|
void internalEntityDecl(::java::lang::String *, ::java::lang::String *);
|
87 |
|
|
::java::io::InputStream * resolveEntity(::java::lang::String *, ::java::lang::String *);
|
88 |
|
|
void notationDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
89 |
|
|
void attributeDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
90 |
|
|
void elementDecl(::java::lang::String *, ::java::lang::String *);
|
91 |
|
|
void unparsedEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
92 |
|
|
void setDocumentLocator(::java::lang::Object *, ::java::lang::Object *);
|
93 |
|
|
void startDocument(jboolean);
|
94 |
|
|
void endDocument();
|
95 |
|
|
void startElement(::java::lang::String *, JArray< ::java::lang::String * > *);
|
96 |
|
|
void endElement(::java::lang::String *);
|
97 |
|
|
void startPrefixMapping(::java::lang::String *, ::java::lang::String *);
|
98 |
|
|
void endPrefixMapping(::java::lang::String *);
|
99 |
|
|
void characters(::java::lang::String *);
|
100 |
|
|
void ignorableWhitespace(::java::lang::String *);
|
101 |
|
|
void processingInstruction(::java::lang::String *, ::java::lang::String *);
|
102 |
|
|
void comment(::java::lang::String *);
|
103 |
|
|
void cdataBlock(::java::lang::String *);
|
104 |
|
|
void warning(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::lang::String *);
|
105 |
|
|
void error(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::lang::String *);
|
106 |
|
|
void fatalError(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::lang::String *);
|
107 |
|
|
static ::java::lang::String * FEATURES_PREFIX;
|
108 |
|
|
static ::java::util::List * RECOGNIZED_FEATURES;
|
109 |
|
|
static ::java::lang::String * PROPERTIES_PREFIX;
|
110 |
|
|
static ::java::util::List * RECOGNIZED_PROPERTIES;
|
111 |
|
|
jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) standalone;
|
112 |
|
|
jboolean namespaces;
|
113 |
|
|
jboolean namespacePrefixes;
|
114 |
|
|
jboolean validation;
|
115 |
|
|
::org::xml::sax::ContentHandler * contentHandler;
|
116 |
|
|
::org::xml::sax::DTDHandler * dtdHandler;
|
117 |
|
|
::org::xml::sax::EntityResolver * entityResolver;
|
118 |
|
|
::org::xml::sax::ErrorHandler * errorHandler;
|
119 |
|
|
::org::xml::sax::ext::DeclHandler * declarationHandler;
|
120 |
|
|
::org::xml::sax::ext::LexicalHandler * lexicalHandler;
|
121 |
|
|
::gnu::xml::libxmlj::sax::GnomeLocator * locator;
|
122 |
|
|
::gnu::xml::libxmlj::sax::Namespaces * ns;
|
123 |
|
|
jboolean seenFatalError;
|
124 |
|
|
jboolean seenStartDocument;
|
125 |
|
|
::java::lang::String * base;
|
126 |
|
|
public:
|
127 |
|
|
static ::java::lang::Class class$;
|
128 |
|
|
};
|
129 |
|
|
|
130 |
|
|
#endif // __gnu_xml_libxmlj_sax_GnomeXMLReader__
|