1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_text_html_parser_DTD__
|
5 |
|
|
#define __javax_swing_text_html_parser_DTD__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace javax
|
15 |
|
|
{
|
16 |
|
|
namespace swing
|
17 |
|
|
{
|
18 |
|
|
namespace text
|
19 |
|
|
{
|
20 |
|
|
namespace html
|
21 |
|
|
{
|
22 |
|
|
namespace parser
|
23 |
|
|
{
|
24 |
|
|
class AttributeList;
|
25 |
|
|
class ContentModel;
|
26 |
|
|
class DTD;
|
27 |
|
|
class Element;
|
28 |
|
|
class Entity;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
}
|
33 |
|
|
}
|
34 |
|
|
}
|
35 |
|
|
|
36 |
|
|
class javax::swing::text::html::parser::DTD : public ::java::lang::Object
|
37 |
|
|
{
|
38 |
|
|
|
39 |
|
|
public: // actually protected
|
40 |
|
|
DTD(::java::lang::String *);
|
41 |
|
|
public:
|
42 |
|
|
static ::javax::swing::text::html::parser::DTD * getDTD(::java::lang::String *);
|
43 |
|
|
virtual ::javax::swing::text::html::parser::Element * getElement(::java::lang::String *);
|
44 |
|
|
virtual ::javax::swing::text::html::parser::Element * getElement(jint);
|
45 |
|
|
virtual ::javax::swing::text::html::parser::Entity * getEntity(jint);
|
46 |
|
|
virtual ::javax::swing::text::html::parser::Entity * getEntity(::java::lang::String *);
|
47 |
|
|
virtual ::java::lang::String * getName();
|
48 |
|
|
virtual ::javax::swing::text::html::parser::Entity * defEntity(::java::lang::String *, jint, jint);
|
49 |
|
|
virtual void defineAttributes(::java::lang::String *, ::javax::swing::text::html::parser::AttributeList *);
|
50 |
|
|
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 *);
|
51 |
|
|
virtual ::javax::swing::text::html::parser::Entity * defineEntity(::java::lang::String *, jint, JArray< jchar > *);
|
52 |
|
|
static void putDTDHash(::java::lang::String *, ::javax::swing::text::html::parser::DTD *);
|
53 |
|
|
virtual void read(::java::io::DataInputStream *);
|
54 |
|
|
virtual ::java::lang::String * toString();
|
55 |
|
|
public: // actually protected
|
56 |
|
|
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 *);
|
57 |
|
|
virtual ::javax::swing::text::html::parser::ContentModel * defContentModel(jint, ::java::lang::Object *, ::javax::swing::text::html::parser::ContentModel *);
|
58 |
|
|
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 *);
|
59 |
|
|
virtual ::javax::swing::text::html::parser::Entity * defEntity(::java::lang::String *, jint, ::java::lang::String *);
|
60 |
|
|
private:
|
61 |
|
|
void assignField(::javax::swing::text::html::parser::Element *);
|
62 |
|
|
::java::util::BitSet * bitSet(JArray< ::java::lang::String * > *);
|
63 |
|
|
::javax::swing::text::html::parser::Element * newElement(::java::lang::String *);
|
64 |
|
|
::javax::swing::text::html::parser::Entity * newEntity(::java::lang::String *, jint);
|
65 |
|
|
void unexpected(::java::lang::Exception *);
|
66 |
|
|
public:
|
67 |
|
|
static const jint FILE_VERSION = 1;
|
68 |
|
|
public: // actually package-private
|
69 |
|
|
static ::java::util::Hashtable * dtdHash;
|
70 |
|
|
public:
|
71 |
|
|
::javax::swing::text::html::parser::Element * __attribute__((aligned(__alignof__( ::java::lang::Object)))) applet;
|
72 |
|
|
::javax::swing::text::html::parser::Element * base;
|
73 |
|
|
::javax::swing::text::html::parser::Element * body;
|
74 |
|
|
::javax::swing::text::html::parser::Element * head;
|
75 |
|
|
::javax::swing::text::html::parser::Element * html;
|
76 |
|
|
::javax::swing::text::html::parser::Element * isindex;
|
77 |
|
|
::javax::swing::text::html::parser::Element * meta;
|
78 |
|
|
::javax::swing::text::html::parser::Element * p;
|
79 |
|
|
::javax::swing::text::html::parser::Element * param;
|
80 |
|
|
::javax::swing::text::html::parser::Element * pcdata;
|
81 |
|
|
::javax::swing::text::html::parser::Element * title;
|
82 |
|
|
::java::util::Hashtable * elementHash;
|
83 |
|
|
::java::util::Hashtable * entityHash;
|
84 |
|
|
::java::lang::String * name;
|
85 |
|
|
::java::util::Vector * elements;
|
86 |
|
|
static ::java::lang::Class class$;
|
87 |
|
|
};
|
88 |
|
|
|
89 |
|
|
#endif // __javax_swing_text_html_parser_DTD__
|