1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __org_w3c_dom_xpath_XPathResult__ 5 #define __org_w3c_dom_xpath_XPathResult__ 6 7 #pragma interface 8 9 #include <java/lang/Object.h> 10 extern "Java" 11 { 12 namespace org 13 { 14 namespace w3c 15 { 16 namespace dom 17 { 18 class Node; 19 namespace xpath 20 { 21 class XPathResult; 22 } 23 } 24 } 25 } 26 } 27 28 class org::w3c::dom::xpath::XPathResult : public ::java::lang::Object 29 { 30 31 public: 32 virtual jshort getResultType() = 0; 33 virtual jdouble getNumberValue() = 0; 34 virtual ::java::lang::String * getStringValue() = 0; 35 virtual jboolean getBooleanValue() = 0; 36 virtual ::org::w3c::dom::Node * getSingleNodeValue() = 0; 37 virtual jboolean getInvalidIteratorState() = 0; 38 virtual jint getSnapshotLength() = 0; 39 virtual ::org::w3c::dom::Node * iterateNext() = 0; 40 virtual ::org::w3c::dom::Node * snapshotItem(jint) = 0; 41 static const jshort ANY_TYPE = 0; 42 static const jshort NUMBER_TYPE = 1; 43 static const jshort STRING_TYPE = 2; 44 static const jshort BOOLEAN_TYPE = 3; 45 static const jshort UNORDERED_NODE_ITERATOR_TYPE = 4; 46 static const jshort ORDERED_NODE_ITERATOR_TYPE = 5; 47 static const jshort UNORDERED_NODE_SNAPSHOT_TYPE = 6; 48 static const jshort ORDERED_NODE_SNAPSHOT_TYPE = 7; 49 static const jshort ANY_UNORDERED_NODE_TYPE = 8; 50 static const jshort FIRST_ORDERED_NODE_TYPE = 9; 51 static ::java::lang::Class class$; 52 } __attribute__ ((java_interface)); 53 54 #endif // __org_w3c_dom_xpath_XPathResult__ 55