// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_html_HTMLDocument__
#define __javax_swing_text_html_HTMLDocument__

#pragma interface

#include <javax/swing/text/DefaultStyledDocument.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
        namespace html
        {
          class HTMLDocument;
          class HTMLDocument$Iterator;
          class HTML$Tag;
          class HTMLFrameHyperlinkEvent;
        }
      }
    }
  }
  namespace java
  {
    namespace net
    {
      class URL;
    }
  }
}

class javax::swing::text::html::HTMLDocument : public ::javax::swing::text::DefaultStyledDocument
{
public:
  virtual ::java::net::URL *getBase () { return baseURL; }
  virtual void setBase (::java::net::URL *);
  virtual jboolean getPreservesUnknownTags () { return preservesUnknownTags; }
  virtual void setPreservesUnknownTags (jboolean);
  virtual void processHTMLFrameHyperlinkEvent (::javax::swing::text::html::HTMLFrameHyperlinkEvent *) { }
  virtual ::javax::swing::text::html::HTMLDocument$Iterator *getIterator (::javax::swing::text::html::HTML$Tag *);
  HTMLDocument ();
  static ::java::lang::String *AdditionalComments;
public: // actually package-private
  ::java::net::URL * __attribute__((aligned(__alignof__( ::javax::swing::text::DefaultStyledDocument )))) baseURL;
  jboolean preservesUnknownTags;

  friend class javax_swing_text_html_HTMLDocument$BlockElement;
  friend class javax_swing_text_html_HTMLDocument$Iterator;
  friend class javax_swing_text_html_HTMLDocument$LeafIterator;
public:

  static ::java::lang::Class class$;
};

#endif /* __javax_swing_text_html_HTMLDocument__ */
