2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_xml_dom_DomDocument__
5 #define __gnu_xml_dom_DomDocument__
9 #include <gnu/xml/dom/DomNode.h>
10 #include <gcj/array.h>
21 class DomDocumentConfiguration
;
35 class DOMConfiguration
;
36 class DOMImplementation
;
37 class DocumentFragment
;
40 class EntityReference
;
42 class ProcessingInstruction
;
52 class XPathExpression
;
53 class XPathNSResolver
;
60 class gnu::xml::dom::DomDocument
: public ::gnu::xml::dom::DomNode
65 public: // actually protected
66 DomDocument(::org::w3c::dom::DOMImplementation
*);
68 virtual void setBuilding(jboolean
);
69 virtual void setCheckWellformedness(jboolean
);
70 virtual void setCheckingCharacters(jboolean
);
71 virtual ::java::lang::String
* getNodeName();
72 virtual ::org::w3c::dom::Element
* getDocumentElement();
73 virtual ::org::w3c::dom::DocumentType
* getDoctype();
74 virtual ::org::w3c::dom::DOMImplementation
* getImplementation();
75 virtual ::org::w3c::dom::Element
* getElementById(::java::lang::String
*);
77 void checkNewChild(::org::w3c::dom::Node
*);
79 virtual ::org::w3c::dom::Node
* appendChild(::org::w3c::dom::Node
*);
80 virtual ::org::w3c::dom::Node
* insertBefore(::org::w3c::dom::Node
*, ::org::w3c::dom::Node
*);
81 virtual ::org::w3c::dom::Node
* replaceChild(::org::w3c::dom::Node
*, ::org::w3c::dom::Node
*);
82 static void verifyXmlName(::java::lang::String
*);
83 public: // actually package-private
84 static void checkName(::java::lang::String
*, jboolean
);
85 static void checkNCName(::java::lang::String
*, jboolean
);
86 static void checkChar(::java::lang::String
*, jboolean
);
87 static void checkChar(JArray
< jchar
> *, jint
, jint
, jboolean
);
89 virtual ::org::w3c::dom::Element
* createElement(::java::lang::String
*);
90 virtual ::org::w3c::dom::Element
* createElementNS(::java::lang::String
*, ::java::lang::String
*);
92 void defaultAttributes(::org::w3c::dom::Element
*, ::java::lang::String
*);
94 virtual ::org::w3c::dom::DocumentFragment
* createDocumentFragment();
95 virtual ::org::w3c::dom::Text
* createTextNode(::java::lang::String
*);
96 virtual ::org::w3c::dom::Text
* createTextNode(JArray
< jchar
> *, jint
, jint
);
97 virtual ::org::w3c::dom::Comment
* createComment(::java::lang::String
*);
98 virtual ::org::w3c::dom::CDATASection
* createCDATASection(::java::lang::String
*);
99 virtual ::org::w3c::dom::CDATASection
* createCDATASection(JArray
< jchar
> *, jint
, jint
);
100 virtual ::org::w3c::dom::ProcessingInstruction
* createProcessingInstruction(::java::lang::String
*, ::java::lang::String
*);
101 virtual ::org::w3c::dom::Attr
* createAttribute(::java::lang::String
*);
102 virtual ::org::w3c::dom::Attr
* createAttributeNS(::java::lang::String
*, ::java::lang::String
*);
103 virtual ::org::w3c::dom::EntityReference
* createEntityReference(::java::lang::String
*);
104 virtual ::org::w3c::dom::Node
* importNode(::org::w3c::dom::Node
*, jboolean
);
105 virtual ::org::w3c::dom::traversal::NodeIterator
* createNodeIterator(::org::w3c::dom::Node
*, jint
, ::org::w3c::dom::traversal::NodeFilter
*, jboolean
);
106 virtual ::org::w3c::dom::traversal::TreeWalker
* createTreeWalker(::org::w3c::dom::Node
*, jint
, ::org::w3c::dom::traversal::NodeFilter
*, jboolean
);
107 virtual ::java::lang::String
* getInputEncoding();
108 virtual void setInputEncoding(::java::lang::String
*);
109 virtual ::java::lang::String
* getXmlEncoding();
110 virtual void setXmlEncoding(::java::lang::String
*);
111 virtual jboolean
getXmlStandalone();
112 virtual void setXmlStandalone(jboolean
);
113 virtual ::java::lang::String
* getXmlVersion();
114 virtual void setXmlVersion(::java::lang::String
*);
115 virtual jboolean
getStrictErrorChecking();
116 virtual void setStrictErrorChecking(jboolean
);
117 virtual ::java::lang::String
* lookupPrefix(::java::lang::String
*);
118 virtual jboolean
isDefaultNamespace(::java::lang::String
*);
119 virtual ::java::lang::String
* lookupNamespaceURI(::java::lang::String
*);
120 virtual ::java::lang::String
* getBaseURI();
121 virtual ::java::lang::String
* getDocumentURI();
122 virtual void setDocumentURI(::java::lang::String
*);
123 virtual ::org::w3c::dom::Node
* adoptNode(::org::w3c::dom::Node
*);
124 public: // actually package-private
125 virtual void adoptChildren(::org::w3c::dom::Node
*, ::org::w3c::dom::Node
*);
126 virtual void adoptAttributes(::org::w3c::dom::Node
*, ::org::w3c::dom::Node
*);
128 virtual ::org::w3c::dom::DOMConfiguration
* getDomConfig();
129 virtual jboolean
isEqualNode(::org::w3c::dom::Node
*);
130 virtual void normalizeDocument();
131 public: // actually package-private
132 virtual void normalizeNode(::gnu::xml::dom::DomNode
*);
134 virtual ::org::w3c::dom::Node
* renameNode(::org::w3c::dom::Node
*, ::java::lang::String
*, ::java::lang::String
*);
135 virtual ::org::w3c::dom::xpath::XPathExpression
* createExpression(::java::lang::String
*, ::org::w3c::dom::xpath::XPathNSResolver
*);
136 virtual ::org::w3c::dom::xpath::XPathNSResolver
* createNSResolver(::org::w3c::dom::Node
*);
137 virtual ::java::lang::Object
* evaluate(::java::lang::String
*, ::org::w3c::dom::Node
*, ::org::w3c::dom::xpath::XPathNSResolver
*, jshort
, ::java::lang::Object
*);
139 ::org::w3c::dom::DOMImplementation
* __attribute__((aligned(__alignof__( ::gnu::xml::dom::DomNode
)))) implementation
;
140 jboolean checkingCharacters
;
141 public: // actually package-private
142 jboolean checkingWellformedness
;
144 ::gnu::xml::dom::DomDocumentConfiguration
* config
;
145 ::java::lang::String
* inputEncoding
;
146 ::java::lang::String
* encoding
;
147 ::java::lang::String
* version
;
149 ::java::lang::String
* systemId
;
151 static ::java::lang::Class
class$
;
154 #endif // __gnu_xml_dom_DomDocument__