2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_xml_xpath_Selector__
5 #define __gnu_xml_xpath_Selector__
9 #include <gnu/xml/xpath/Path.h>
10 #include <gcj/array.h>
48 class gnu::xml::xpath::Selector
: public ::gnu::xml::xpath::Path
52 Selector(jint
, ::java::util::List
*);
53 JArray
< ::gnu::xml::xpath::Test
* > * getTests();
54 jboolean
matches(::org::w3c::dom::Node
*);
55 public: // actually package-private
56 jboolean
matches(::org::w3c::dom::Node
*, jint
, jint
);
58 jint
getContextPosition(::org::w3c::dom::Node
*);
59 jint
getContextSize(::org::w3c::dom::Node
*);
61 ::java::lang::Object
* evaluate(::org::w3c::dom::Node
*, jint
, jint
);
62 public: // actually package-private
63 ::java::util::Collection
* evaluate(::org::w3c::dom::Node
*, ::java::util::Collection
*);
64 ::java::util::List
* filterCandidates(::java::util::List
*, jboolean
);
65 void addCandidates(::org::w3c::dom::Node
*, ::java::util::Collection
*);
66 void addChildNodes(::org::w3c::dom::Node
*, ::java::util::Collection
*, jboolean
);
67 void addParentNode(::org::w3c::dom::Node
*, ::java::util::Collection
*, jboolean
);
68 void addFollowingNodes(::org::w3c::dom::Node
*, ::java::util::Collection
*, jboolean
);
69 void addPrecedingNodes(::org::w3c::dom::Node
*, ::java::util::Collection
*, jboolean
);
70 void addAttributes(::org::w3c::dom::Node
*, ::java::util::Collection
*);
71 void addNamespaceAttributes(::org::w3c::dom::Node
*, ::java::util::Collection
*);
72 jboolean
isNamespaceAttribute(::org::w3c::dom::Node
*);
74 ::gnu::xml::xpath::Expr
* clone(::java::lang::Object
*);
75 jboolean
references(::javax::xml::namespace$
::QName
*);
76 ::java::lang::String
* toString();
77 static const jint ANCESTOR
= 0;
78 static const jint ANCESTOR_OR_SELF
= 1;
79 static const jint ATTRIBUTE
= 2;
80 static const jint CHILD
= 3;
81 static const jint DESCENDANT
= 4;
82 static const jint DESCENDANT_OR_SELF
= 5;
83 static const jint FOLLOWING
= 6;
84 static const jint FOLLOWING_SIBLING
= 7;
85 static const jint NAMESPACE
= 8;
86 static const jint PARENT
= 9;
87 static const jint PRECEDING
= 10;
88 static const jint PRECEDING_SIBLING
= 11;
89 static const jint SELF
= 12;
90 public: // actually package-private
91 jint
__attribute__((aligned(__alignof__( ::gnu::xml::xpath::Path
)))) axis
;
92 JArray
< ::gnu::xml::xpath::Test
* > * tests
;
94 static ::java::lang::Class
class$
;
97 #endif // __gnu_xml_xpath_Selector__