Node.h 3.8 KB

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