OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / org / w3c / dom / css / CSSRule.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __org_w3c_dom_css_CSSRule__
5 #define __org_w3c_dom_css_CSSRule__
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         namespace css
19         {
20             class CSSRule;
21             class CSSStyleSheet;
22         }
23       }
24     }
25   }
26 }
27
28 class org::w3c::dom::css::CSSRule : public ::java::lang::Object
29 {
30
31 public:
32   virtual jshort getType() = 0;
33   virtual ::java::lang::String * getCssText() = 0;
34   virtual void setCssText(::java::lang::String *) = 0;
35   virtual ::org::w3c::dom::css::CSSStyleSheet * getParentStyleSheet() = 0;
36   virtual ::org::w3c::dom::css::CSSRule * getParentRule() = 0;
37   static const jshort UNKNOWN_RULE = 0;
38   static const jshort STYLE_RULE = 1;
39   static const jshort CHARSET_RULE = 2;
40   static const jshort IMPORT_RULE = 3;
41   static const jshort MEDIA_RULE = 4;
42   static const jshort FONT_FACE_RULE = 5;
43   static const jshort PAGE_RULE = 6;
44   static ::java::lang::Class class$;
45 } __attribute__ ((java_interface));
46
47 #endif // __org_w3c_dom_css_CSSRule__