2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __org_w3c_dom_Node__
5 #define __org_w3c_dom_Node__
9 #include <java/lang/Object.h>
22 class UserDataHandler
;
28 class org::w3c::dom::Node
: public ::java::lang::Object
32 virtual ::java::lang::String
* getNodeName() = 0;
33 virtual ::java::lang::String
* getNodeValue() = 0;
34 virtual void setNodeValue(::java::lang::String
*) = 0;
35 virtual jshort
getNodeType() = 0;
36 virtual ::org::w3c::dom::Node
* getParentNode() = 0;
37 virtual ::org::w3c::dom::NodeList
* getChildNodes() = 0;
38 virtual ::org::w3c::dom::Node
* getFirstChild() = 0;
39 virtual ::org::w3c::dom::Node
* getLastChild() = 0;
40 virtual ::org::w3c::dom::Node
* getPreviousSibling() = 0;
41 virtual ::org::w3c::dom::Node
* getNextSibling() = 0;
42 virtual ::org::w3c::dom::NamedNodeMap
* getAttributes() = 0;
43 virtual ::org::w3c::dom::Document
* getOwnerDocument() = 0;
44 virtual ::org::w3c::dom::Node
* insertBefore(::org::w3c::dom::Node
*, ::org::w3c::dom::Node
*) = 0;
45 virtual ::org::w3c::dom::Node
* replaceChild(::org::w3c::dom::Node
*, ::org::w3c::dom::Node
*) = 0;
46 virtual ::org::w3c::dom::Node
* removeChild(::org::w3c::dom::Node
*) = 0;
47 virtual ::org::w3c::dom::Node
* appendChild(::org::w3c::dom::Node
*) = 0;
48 virtual jboolean
hasChildNodes() = 0;
49 virtual ::org::w3c::dom::Node
* cloneNode(jboolean
) = 0;
50 virtual void normalize() = 0;
51 virtual jboolean
isSupported(::java::lang::String
*, ::java::lang::String
*) = 0;
52 virtual ::java::lang::String
* getNamespaceURI() = 0;
53 virtual ::java::lang::String
* getPrefix() = 0;
54 virtual void setPrefix(::java::lang::String
*) = 0;
55 virtual ::java::lang::String
* getLocalName() = 0;
56 virtual jboolean
hasAttributes() = 0;
57 virtual ::java::lang::String
* getBaseURI() = 0;
58 virtual jshort
compareDocumentPosition(::org::w3c::dom::Node
*) = 0;
59 virtual ::java::lang::String
* getTextContent() = 0;
60 virtual void setTextContent(::java::lang::String
*) = 0;
61 virtual jboolean
isSameNode(::org::w3c::dom::Node
*) = 0;
62 virtual ::java::lang::String
* lookupPrefix(::java::lang::String
*) = 0;
63 virtual jboolean
isDefaultNamespace(::java::lang::String
*) = 0;
64 virtual ::java::lang::String
* lookupNamespaceURI(::java::lang::String
*) = 0;
65 virtual jboolean
isEqualNode(::org::w3c::dom::Node
*) = 0;
66 virtual ::java::lang::Object
* getFeature(::java::lang::String
*, ::java::lang::String
*) = 0;
67 virtual ::java::lang::Object
* setUserData(::java::lang::String
*, ::java::lang::Object
*, ::org::w3c::dom::UserDataHandler
*) = 0;
68 virtual ::java::lang::Object
* getUserData(::java::lang::String
*) = 0;
69 static const jshort ELEMENT_NODE
= 1;
70 static const jshort ATTRIBUTE_NODE
= 2;
71 static const jshort TEXT_NODE
= 3;
72 static const jshort CDATA_SECTION_NODE
= 4;
73 static const jshort ENTITY_REFERENCE_NODE
= 5;
74 static const jshort ENTITY_NODE
= 6;
75 static const jshort PROCESSING_INSTRUCTION_NODE
= 7;
76 static const jshort COMMENT_NODE
= 8;
77 static const jshort DOCUMENT_NODE
= 9;
78 static const jshort DOCUMENT_TYPE_NODE
= 10;
79 static const jshort DOCUMENT_FRAGMENT_NODE
= 11;
80 static const jshort NOTATION_NODE
= 12;
81 static const jshort DOCUMENT_POSITION_DISCONNECTED
= 1;
82 static const jshort DOCUMENT_POSITION_PRECEDING
= 2;
83 static const jshort DOCUMENT_POSITION_FOLLOWING
= 4;
84 static const jshort DOCUMENT_POSITION_CONTAINS
= 8;
85 static const jshort DOCUMENT_POSITION_CONTAINED_BY
= 16;
86 static const jshort DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
= 32;
87 static ::java::lang::Class
class$
;
88 } __attribute__ ((java_interface
));
90 #endif // __org_w3c_dom_Node__