summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/html/parser/DTD.h
blob: f9933273e07092c742f522013d2abacc41e07d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_html_parser_DTD__
#define __javax_swing_text_html_parser_DTD__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
        namespace html
        {
          namespace parser
          {
              class AttributeList;
              class ContentModel;
              class DTD;
              class Element;
              class Entity;
          }
        }
      }
    }
  }
}

class javax::swing::text::html::parser::DTD : public ::java::lang::Object
{

public: // actually protected
  DTD(::java::lang::String *);
public:
  static ::javax::swing::text::html::parser::DTD * getDTD(::java::lang::String *);
  virtual ::javax::swing::text::html::parser::Element * getElement(::java::lang::String *);
  virtual ::javax::swing::text::html::parser::Element * getElement(jint);
  virtual ::javax::swing::text::html::parser::Entity * getEntity(jint);
  virtual ::javax::swing::text::html::parser::Entity * getEntity(::java::lang::String *);
  virtual ::java::lang::String * getName();
  virtual ::javax::swing::text::html::parser::Entity * defEntity(::java::lang::String *, jint, jint);
  virtual void defineAttributes(::java::lang::String *, ::javax::swing::text::html::parser::AttributeList *);
  virtual ::javax::swing::text::html::parser::Element * defineElement(::java::lang::String *, jint, jboolean, jboolean, ::javax::swing::text::html::parser::ContentModel *, ::java::util::BitSet *, ::java::util::BitSet *, ::javax::swing::text::html::parser::AttributeList *);
  virtual ::javax::swing::text::html::parser::Entity * defineEntity(::java::lang::String *, jint, JArray< jchar > *);
  static void putDTDHash(::java::lang::String *, ::javax::swing::text::html::parser::DTD *);
  virtual void read(::java::io::DataInputStream *);
  virtual ::java::lang::String * toString();
public: // actually protected
  virtual ::javax::swing::text::html::parser::AttributeList * defAttributeList(::java::lang::String *, jint, jint, ::java::lang::String *, ::java::lang::String *, ::javax::swing::text::html::parser::AttributeList *);
  virtual ::javax::swing::text::html::parser::ContentModel * defContentModel(jint, ::java::lang::Object *, ::javax::swing::text::html::parser::ContentModel *);
  virtual ::javax::swing::text::html::parser::Element * defElement(::java::lang::String *, jint, jboolean, jboolean, ::javax::swing::text::html::parser::ContentModel *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::javax::swing::text::html::parser::AttributeList *);
  virtual ::javax::swing::text::html::parser::Entity * defEntity(::java::lang::String *, jint, ::java::lang::String *);
private:
  void assignField(::javax::swing::text::html::parser::Element *);
  ::java::util::BitSet * bitSet(JArray< ::java::lang::String * > *);
  ::javax::swing::text::html::parser::Element * newElement(::java::lang::String *);
  ::javax::swing::text::html::parser::Entity * newEntity(::java::lang::String *, jint);
  void unexpected(::java::lang::Exception *);
public:
  static const jint FILE_VERSION = 1;
public: // actually package-private
  static ::java::util::Hashtable * dtdHash;
public:
  ::javax::swing::text::html::parser::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) applet;
  ::javax::swing::text::html::parser::Element * base;
  ::javax::swing::text::html::parser::Element * body;
  ::javax::swing::text::html::parser::Element * head;
  ::javax::swing::text::html::parser::Element * html;
  ::javax::swing::text::html::parser::Element * isindex;
  ::javax::swing::text::html::parser::Element * meta;
  ::javax::swing::text::html::parser::Element * p;
  ::javax::swing::text::html::parser::Element * param;
  ::javax::swing::text::html::parser::Element * pcdata;
  ::javax::swing::text::html::parser::Element * title;
  ::java::util::Hashtable * elementHash;
  ::java::util::Hashtable * entityHash;
  ::java::lang::String * name;
  ::java::util::Vector * elements;
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_html_parser_DTD__