OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [xml/] [xpath/] [Selector.h] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_xml_xpath_Selector__
5
#define __gnu_xml_xpath_Selector__
6
 
7
#pragma interface
8
 
9
#include <gnu/xml/xpath/Path.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace xml
17
    {
18
      namespace xpath
19
      {
20
          class Expr;
21
          class Selector;
22
          class Test;
23
      }
24
    }
25
  }
26
  namespace javax
27
  {
28
    namespace xml
29
    {
30
      namespace namespace$
31
      {
32
          class QName;
33
      }
34
    }
35
  }
36
  namespace org
37
  {
38
    namespace w3c
39
    {
40
      namespace dom
41
      {
42
          class Node;
43
      }
44
    }
45
  }
46
}
47
 
48
class gnu::xml::xpath::Selector : public ::gnu::xml::xpath::Path
49
{
50
 
51
public:
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);
57
private:
58
  jint getContextPosition(::org::w3c::dom::Node *);
59
  jint getContextSize(::org::w3c::dom::Node *);
60
public:
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 *);
73
public:
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;
93
public:
94
  static ::java::lang::Class class$;
95
};
96
 
97
#endif // __gnu_xml_xpath_Selector__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.