diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/swing/text/html/parser/DTD.h | |
download | cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.bz2 cbb-gcc-4.6.4-554fd8c5195424bdbcabf5de30fdc183aba391bd.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/javax/swing/text/html/parser/DTD.h')
-rw-r--r-- | libjava/javax/swing/text/html/parser/DTD.h | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/libjava/javax/swing/text/html/parser/DTD.h b/libjava/javax/swing/text/html/parser/DTD.h new file mode 100644 index 000000000..f9933273e --- /dev/null +++ b/libjava/javax/swing/text/html/parser/DTD.h @@ -0,0 +1,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__ |