1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_xml_pipeline_DomConsumer$Handler__
|
5 |
|
|
#define __gnu_xml_pipeline_DomConsumer$Handler__
|
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 pipeline
|
19 |
|
|
{
|
20 |
|
|
class DomConsumer;
|
21 |
|
|
class DomConsumer$Handler;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
namespace org
|
26 |
|
|
{
|
27 |
|
|
namespace w3c
|
28 |
|
|
{
|
29 |
|
|
namespace dom
|
30 |
|
|
{
|
31 |
|
|
class DOMImplementation;
|
32 |
|
|
class Document;
|
33 |
|
|
class Element;
|
34 |
|
|
class Node;
|
35 |
|
|
class Text;
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
namespace xml
|
39 |
|
|
{
|
40 |
|
|
namespace sax
|
41 |
|
|
{
|
42 |
|
|
class Attributes;
|
43 |
|
|
class Locator;
|
44 |
|
|
namespace helpers
|
45 |
|
|
{
|
46 |
|
|
class AttributesImpl;
|
47 |
|
|
}
|
48 |
|
|
}
|
49 |
|
|
}
|
50 |
|
|
}
|
51 |
|
|
}
|
52 |
|
|
|
53 |
|
|
class gnu::xml::pipeline::DomConsumer$Handler : public ::java::lang::Object
|
54 |
|
|
{
|
55 |
|
|
|
56 |
|
|
public: // actually protected
|
57 |
|
|
DomConsumer$Handler(::gnu::xml::pipeline::DomConsumer *);
|
58 |
|
|
private:
|
59 |
|
|
void fatal(::java::lang::String *, ::java::lang::Exception *);
|
60 |
|
|
public: // actually package-private
|
61 |
|
|
virtual ::org::w3c::dom::Document * clearDocument();
|
62 |
|
|
public: // actually protected
|
63 |
|
|
virtual ::org::w3c::dom::Document * getDocument();
|
64 |
|
|
virtual ::org::w3c::dom::Node * getTop();
|
65 |
|
|
public:
|
66 |
|
|
virtual void setDocumentLocator(::org::xml::sax::Locator *);
|
67 |
|
|
virtual void startDocument();
|
68 |
|
|
virtual void endDocument();
|
69 |
|
|
virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
|
70 |
|
|
public: // actually protected
|
71 |
|
|
virtual ::org::w3c::dom::Text * createText(jboolean, JArray< jchar > *, jint, jint);
|
72 |
|
|
public:
|
73 |
|
|
virtual void characters(JArray< jchar > *, jint, jint);
|
74 |
|
|
virtual void skippedEntity(::java::lang::String *);
|
75 |
|
|
virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *);
|
76 |
|
|
virtual void endPrefixMapping(::java::lang::String *);
|
77 |
|
|
virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
|
78 |
|
|
private:
|
79 |
|
|
void populateAttributes(::org::w3c::dom::Element *, ::org::xml::sax::Attributes *);
|
80 |
|
|
::java::lang::String * getPrefix(::java::lang::String *);
|
81 |
|
|
::java::lang::String * getNamespace(::java::lang::String *, ::org::xml::sax::Attributes *);
|
82 |
|
|
public:
|
83 |
|
|
virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
84 |
|
|
virtual void ignorableWhitespace(JArray< jchar > *, jint, jint);
|
85 |
|
|
virtual void startCDATA();
|
86 |
|
|
virtual void endCDATA();
|
87 |
|
|
virtual void startDTD(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
88 |
|
|
virtual void endDTD();
|
89 |
|
|
virtual void comment(JArray< jchar > *, jint, jint);
|
90 |
|
|
virtual jboolean canPopulateEntityRefs();
|
91 |
|
|
virtual void startEntity(::java::lang::String *);
|
92 |
|
|
virtual void endEntity(::java::lang::String *);
|
93 |
|
|
virtual void notationDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
94 |
|
|
virtual void unparsedEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
95 |
|
|
virtual void elementDecl(::java::lang::String *, ::java::lang::String *);
|
96 |
|
|
virtual void attributeDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
97 |
|
|
virtual void internalEntityDecl(::java::lang::String *, ::java::lang::String *);
|
98 |
|
|
virtual void externalEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
99 |
|
|
private:
|
100 |
|
|
void namespaceError(::java::lang::String *);
|
101 |
|
|
public: // actually protected
|
102 |
|
|
::gnu::xml::pipeline::DomConsumer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) consumer;
|
103 |
|
|
private:
|
104 |
|
|
::org::w3c::dom::DOMImplementation * impl;
|
105 |
|
|
::org::w3c::dom::Document * document;
|
106 |
|
|
jboolean isL2;
|
107 |
|
|
::org::xml::sax::Locator * locator;
|
108 |
|
|
::org::w3c::dom::Node * top;
|
109 |
|
|
jboolean inCDATA;
|
110 |
|
|
jboolean mergeCDATA;
|
111 |
|
|
jboolean inDTD;
|
112 |
|
|
::java::lang::String * currentEntity;
|
113 |
|
|
jboolean recreatedAttrs;
|
114 |
|
|
::org::xml::sax::helpers::AttributesImpl * attributes;
|
115 |
|
|
public: // actually package-private
|
116 |
|
|
static ::java::lang::String * xmlnsURI;
|
117 |
|
|
public:
|
118 |
|
|
static ::java::lang::Class class$;
|
119 |
|
|
};
|
120 |
|
|
|
121 |
|
|
#endif // __gnu_xml_pipeline_DomConsumer$Handler__
|