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
168
169
170
171
172
173
174
175
176
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_xml_dom_DomNode__
#define __gnu_xml_dom_DomNode__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace xml
{
namespace dom
{
class DomDocument;
class DomEvent;
class DomEvent$DomMutationEvent;
class DomNode;
class DomNode$ListenerRecord;
}
}
}
namespace org
{
namespace w3c
{
namespace dom
{
class Document;
class NamedNodeMap;
class Node;
class NodeList;
class UserDataHandler;
namespace events
{
class Event;
class EventListener;
}
}
}
}
}
class gnu::xml::dom::DomNode : public ::java::lang::Object
{
public:
virtual void compact();
public: // actually protected
DomNode(jshort, ::gnu::xml::dom::DomDocument *);
public:
virtual ::org::w3c::dom::NamedNodeMap * getAttributes();
virtual jboolean hasAttributes();
virtual ::org::w3c::dom::NodeList * getChildNodes();
virtual ::org::w3c::dom::Node * getFirstChild();
virtual ::org::w3c::dom::Node * getLastChild();
virtual jboolean hasChildNodes();
virtual jboolean isReadonly();
virtual void makeReadonly();
public: // actually package-private
virtual void setOwner(::gnu::xml::dom::DomDocument *);
private:
void checkMisc(::gnu::xml::dom::DomNode *);
void insertionEvent(::gnu::xml::dom::DomEvent$DomMutationEvent *, ::gnu::xml::dom::DomNode *);
void removalEvent(::gnu::xml::dom::DomEvent$DomMutationEvent *, ::gnu::xml::dom::DomNode *);
static ::gnu::xml::dom::DomEvent$DomMutationEvent * getMutationEvent();
static void freeMutationEvent();
public: // actually package-private
virtual void setDepth(jint);
public:
virtual ::org::w3c::dom::Node * appendChild(::org::w3c::dom::Node *);
virtual ::org::w3c::dom::Node * insertBefore(::org::w3c::dom::Node *, ::org::w3c::dom::Node *);
virtual ::org::w3c::dom::Node * replaceChild(::org::w3c::dom::Node *, ::org::w3c::dom::Node *);
virtual ::org::w3c::dom::Node * removeChild(::org::w3c::dom::Node *);
virtual ::org::w3c::dom::Node * item(jint);
virtual jint getLength();
virtual void trimToSize();
virtual ::org::w3c::dom::Node * getNextSibling();
virtual ::org::w3c::dom::Node * getPreviousSibling();
virtual ::org::w3c::dom::Node * getParentNode();
virtual jboolean isSupported(::java::lang::String *, ::java::lang::String *);
virtual ::org::w3c::dom::Document * getOwnerDocument();
virtual void setNodeValue(::java::lang::String *);
virtual ::java::lang::String * getNodeValue();
virtual jshort getNodeType();
virtual ::java::lang::String * getNodeName() = 0;
virtual void setPrefix(::java::lang::String *);
virtual ::java::lang::String * getPrefix();
virtual ::java::lang::String * getNamespaceURI();
virtual ::java::lang::String * getLocalName();
virtual ::org::w3c::dom::Node * cloneNode(jboolean);
private:
::gnu::xml::dom::DomNode * cloneNodeDeepInternal(jboolean, ::gnu::xml::dom::DomDocument *);
public: // actually package-private
virtual void notifyUserDataHandlers(jshort, ::org::w3c::dom::Node *, ::org::w3c::dom::Node *);
public:
virtual ::java::lang::Object * clone();
virtual ::org::w3c::dom::NodeList * getElementsByTagName(::java::lang::String *);
virtual ::org::w3c::dom::NodeList * getElementsByTagNameNS(::java::lang::String *, ::java::lang::String *);
virtual ::org::w3c::dom::events::Event * createEvent(::java::lang::String *);
virtual void addEventListener(::java::lang::String *, ::org::w3c::dom::events::EventListener *, jboolean);
virtual jboolean dispatchEvent(::org::w3c::dom::events::Event *);
private:
void notifyNode(::gnu::xml::dom::DomEvent *, ::gnu::xml::dom::DomNode *, jboolean, JArray< ::gnu::xml::dom::DomNode$ListenerRecord * > *);
public:
virtual void removeEventListener(::java::lang::String *, ::org::w3c::dom::events::EventListener *, jboolean);
virtual void normalize();
virtual jboolean nameAndTypeEquals(::org::w3c::dom::Node *);
virtual ::java::lang::String * getBaseURI();
virtual jshort compareDocumentPosition(::org::w3c::dom::Node *);
virtual jint compareTo(::java::lang::Object *);
public: // actually package-private
virtual jint compareTo2(::gnu::xml::dom::DomNode *, ::gnu::xml::dom::DomNode *);
public:
virtual ::java::lang::String * getTextContent();
public: // actually package-private
virtual ::java::lang::String * getTextContent(jboolean);
public:
virtual void setTextContent(::java::lang::String *);
virtual jboolean isSameNode(::org::w3c::dom::Node *);
virtual ::java::lang::String * lookupPrefix(::java::lang::String *);
virtual jboolean isDefaultNamespace(::java::lang::String *);
virtual ::java::lang::String * lookupNamespaceURI(::java::lang::String *);
virtual jboolean isEqualNode(::org::w3c::dom::Node *);
public: // actually package-private
virtual jboolean equal(::java::lang::String *, ::java::lang::String *);
public:
virtual ::java::lang::Object * getFeature(::java::lang::String *, ::java::lang::String *);
virtual ::java::lang::Object * setUserData(::java::lang::String *, ::java::lang::Object *, ::org::w3c::dom::UserDataHandler *);
virtual ::java::lang::Object * getUserData(::java::lang::String *);
virtual ::java::lang::String * toString();
public: // actually package-private
virtual ::java::lang::String * encode(::java::lang::String *);
virtual ::java::lang::String * nodeTypeToString(jshort);
public:
virtual void list(::java::io::PrintStream *, jint);
private:
static const jint NKIDS_DELTA = 8;
static const jint ANCESTORS_INIT = 20;
static const jint NOTIFICATIONS_INIT = 10;
public: // actually package-private
static const jboolean reportMutations = 1;
private:
static ::java::lang::Object * lockNode;
static jboolean dispatchDataLock;
static JArray< ::gnu::xml::dom::DomNode * > * ancestors;
static JArray< ::gnu::xml::dom::DomNode$ListenerRecord * > * notificationSet;
static jboolean eventDataLock;
static ::gnu::xml::dom::DomEvent$DomMutationEvent * mutationEvent;
public: // actually package-private
::gnu::xml::dom::DomDocument * __attribute__((aligned(__alignof__( ::java::lang::Object)))) owner;
::gnu::xml::dom::DomNode * parent;
::gnu::xml::dom::DomNode * previous;
::gnu::xml::dom::DomNode * next;
::gnu::xml::dom::DomNode * first;
::gnu::xml::dom::DomNode * last;
jint index;
jint depth;
jint length;
jshort nodeType;
jboolean readonly;
private:
::java::util::HashSet * listeners;
jint nListeners;
::java::util::HashMap * userData;
::java::util::HashMap * userDataHandlers;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_xml_dom_DomNode__
|