1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_xml_libxmlj_dom_GnomeDocument__
|
5 |
|
|
#define __gnu_xml_libxmlj_dom_GnomeDocument__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <gnu/xml/libxmlj/dom/GnomeNode.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace gnu
|
13 |
|
|
{
|
14 |
|
|
namespace xml
|
15 |
|
|
{
|
16 |
|
|
namespace libxmlj
|
17 |
|
|
{
|
18 |
|
|
namespace dom
|
19 |
|
|
{
|
20 |
|
|
class GnomeDocument;
|
21 |
|
|
}
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
namespace org
|
26 |
|
|
{
|
27 |
|
|
namespace w3c
|
28 |
|
|
{
|
29 |
|
|
namespace dom
|
30 |
|
|
{
|
31 |
|
|
class Attr;
|
32 |
|
|
class CDATASection;
|
33 |
|
|
class Comment;
|
34 |
|
|
class DOMConfiguration;
|
35 |
|
|
class DOMErrorHandler;
|
36 |
|
|
class DOMImplementation;
|
37 |
|
|
class DOMStringList;
|
38 |
|
|
class DocumentFragment;
|
39 |
|
|
class DocumentType;
|
40 |
|
|
class Element;
|
41 |
|
|
class EntityReference;
|
42 |
|
|
class Node;
|
43 |
|
|
class NodeList;
|
44 |
|
|
class ProcessingInstruction;
|
45 |
|
|
class Text;
|
46 |
|
|
namespace traversal
|
47 |
|
|
{
|
48 |
|
|
class NodeFilter;
|
49 |
|
|
class NodeIterator;
|
50 |
|
|
class TreeWalker;
|
51 |
|
|
}
|
52 |
|
|
namespace xpath
|
53 |
|
|
{
|
54 |
|
|
class XPathExpression;
|
55 |
|
|
class XPathNSResolver;
|
56 |
|
|
}
|
57 |
|
|
}
|
58 |
|
|
}
|
59 |
|
|
}
|
60 |
|
|
}
|
61 |
|
|
|
62 |
|
|
class gnu::xml::libxmlj::dom::GnomeDocument : public ::gnu::xml::libxmlj::dom::GnomeNode
|
63 |
|
|
{
|
64 |
|
|
|
65 |
|
|
public: // actually package-private
|
66 |
|
|
GnomeDocument(::java::lang::Object *);
|
67 |
|
|
public: // actually protected
|
68 |
|
|
virtual void finalize();
|
69 |
|
|
private:
|
70 |
|
|
void free(::java::lang::Object *);
|
71 |
|
|
public:
|
72 |
|
|
virtual ::org::w3c::dom::DocumentType * getDoctype();
|
73 |
|
|
virtual ::org::w3c::dom::DOMImplementation * getImplementation();
|
74 |
|
|
virtual ::org::w3c::dom::Element * getDocumentElement();
|
75 |
|
|
virtual ::org::w3c::dom::Element * createElement(::java::lang::String *);
|
76 |
|
|
virtual ::org::w3c::dom::DocumentType * createDocumentType(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
|
77 |
|
|
virtual ::org::w3c::dom::DocumentFragment * createDocumentFragment();
|
78 |
|
|
virtual ::org::w3c::dom::Text * createTextNode(::java::lang::String *);
|
79 |
|
|
virtual ::org::w3c::dom::Comment * createComment(::java::lang::String *);
|
80 |
|
|
virtual ::org::w3c::dom::CDATASection * createCDATASection(::java::lang::String *);
|
81 |
|
|
virtual ::org::w3c::dom::ProcessingInstruction * createProcessingInstruction(::java::lang::String *, ::java::lang::String *);
|
82 |
|
|
virtual ::org::w3c::dom::Attr * createAttribute(::java::lang::String *);
|
83 |
|
|
virtual ::org::w3c::dom::EntityReference * createEntityReference(::java::lang::String *);
|
84 |
|
|
virtual ::org::w3c::dom::NodeList * getElementsByTagName(::java::lang::String *);
|
85 |
|
|
virtual ::org::w3c::dom::Node * importNode(::org::w3c::dom::Node *, jboolean);
|
86 |
|
|
private:
|
87 |
|
|
::org::w3c::dom::Node * xmljImportNode(::org::w3c::dom::Node *, jboolean);
|
88 |
|
|
public:
|
89 |
|
|
virtual ::org::w3c::dom::Element * createElementNS(::java::lang::String *, ::java::lang::String *);
|
90 |
|
|
virtual ::org::w3c::dom::Attr * createAttributeNS(::java::lang::String *, ::java::lang::String *);
|
91 |
|
|
virtual ::org::w3c::dom::NodeList * getElementsByTagNameNS(::java::lang::String *, ::java::lang::String *);
|
92 |
|
|
virtual ::org::w3c::dom::Element * getElementById(::java::lang::String *);
|
93 |
|
|
private:
|
94 |
|
|
::org::w3c::dom::Element * xmljGetElementById(::java::lang::String *);
|
95 |
|
|
public:
|
96 |
|
|
virtual ::java::lang::String * getInputEncoding();
|
97 |
|
|
virtual ::java::lang::String * getXmlEncoding();
|
98 |
|
|
virtual jboolean getXmlStandalone();
|
99 |
|
|
virtual void setXmlStandalone(jboolean);
|
100 |
|
|
virtual ::java::lang::String * getXmlVersion();
|
101 |
|
|
virtual void setXmlVersion(::java::lang::String *);
|
102 |
|
|
virtual jboolean getStrictErrorChecking();
|
103 |
|
|
virtual void setStrictErrorChecking(jboolean);
|
104 |
|
|
virtual ::java::lang::String * getDocumentURI();
|
105 |
|
|
virtual void setDocumentURI(::java::lang::String *);
|
106 |
|
|
virtual ::org::w3c::dom::Node * adoptNode(::org::w3c::dom::Node *);
|
107 |
|
|
private:
|
108 |
|
|
::org::w3c::dom::Node * xmljAdoptNode(::org::w3c::dom::Node *);
|
109 |
|
|
public:
|
110 |
|
|
virtual ::org::w3c::dom::DOMConfiguration * getDomConfig();
|
111 |
|
|
virtual void normalizeDocument();
|
112 |
|
|
virtual ::org::w3c::dom::Node * renameNode(::org::w3c::dom::Node *, ::java::lang::String *, ::java::lang::String *);
|
113 |
|
|
virtual void setParameter(::java::lang::String *, ::java::lang::Object *);
|
114 |
|
|
virtual ::java::lang::Object * getParameter(::java::lang::String *);
|
115 |
|
|
virtual jboolean canSetParameter(::java::lang::String *, ::java::lang::Object *);
|
116 |
|
|
virtual ::org::w3c::dom::DOMStringList * getParameterNames();
|
117 |
|
|
private:
|
118 |
|
|
jboolean getBooleanValue(::java::lang::Object *);
|
119 |
|
|
public:
|
120 |
|
|
virtual ::org::w3c::dom::xpath::XPathExpression * createExpression(::java::lang::String *, ::org::w3c::dom::xpath::XPathNSResolver *);
|
121 |
|
|
virtual ::org::w3c::dom::xpath::XPathNSResolver * createNSResolver(::org::w3c::dom::Node *);
|
122 |
|
|
virtual ::java::lang::Object * evaluate(::java::lang::String *, ::org::w3c::dom::Node *, ::org::w3c::dom::xpath::XPathNSResolver *, jshort, ::java::lang::Object *);
|
123 |
|
|
virtual ::org::w3c::dom::traversal::NodeIterator * createNodeIterator(::org::w3c::dom::Node *, jint, ::org::w3c::dom::traversal::NodeFilter *, jboolean);
|
124 |
|
|
virtual ::org::w3c::dom::traversal::TreeWalker * createTreeWalker(::org::w3c::dom::Node *, jint, ::org::w3c::dom::traversal::NodeFilter *, jboolean);
|
125 |
|
|
virtual ::java::lang::String * toString();
|
126 |
|
|
public: // actually package-private
|
127 |
|
|
::org::w3c::dom::DOMImplementation * __attribute__((aligned(__alignof__( ::gnu::xml::libxmlj::dom::GnomeNode)))) dom;
|
128 |
|
|
jboolean strictErrorChecking;
|
129 |
|
|
jboolean canonicalForm;
|
130 |
|
|
jboolean cdataSections;
|
131 |
|
|
jboolean checkCharacterNormalization;
|
132 |
|
|
jboolean comments;
|
133 |
|
|
jboolean datatypeNormalization;
|
134 |
|
|
jboolean elementContentWhitespace;
|
135 |
|
|
jboolean entities;
|
136 |
|
|
::org::w3c::dom::DOMErrorHandler * errorHandler;
|
137 |
|
|
jboolean namespaces;
|
138 |
|
|
jboolean namespaceDeclarations;
|
139 |
|
|
jboolean normalizeCharacters;
|
140 |
|
|
jboolean splitCdataSections;
|
141 |
|
|
jboolean validate;
|
142 |
|
|
jboolean validateIfSchema;
|
143 |
|
|
jboolean wellFormed;
|
144 |
|
|
public:
|
145 |
|
|
static ::java::lang::Class class$;
|
146 |
|
|
};
|
147 |
|
|
|
148 |
|
|
#endif // __gnu_xml_libxmlj_dom_GnomeDocument__
|