summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/html/HTMLDocument.h
blob: 014f818af3aedcee8f35677debcf23cbde2e0550 (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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// 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>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace net
    {
        class URL;
    }
  }
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
          class AbstractDocument$AbstractElement;
          class AbstractDocument$AttributeContext;
          class AbstractDocument$Content;
          class AbstractDocument$DefaultDocumentEvent;
          class AttributeSet;
          class DefaultStyledDocument$ElementSpec;
          class Element;
        namespace html
        {
            class HTML$Attribute;
            class HTML$Tag;
            class HTMLDocument;
            class HTMLDocument$Iterator;
            class HTMLEditorKit$Parser;
            class HTMLEditorKit$ParserCallback;
            class HTMLFrameHyperlinkEvent;
            class StyleSheet;
        }
      }
    }
  }
}

class javax::swing::text::html::HTMLDocument : public ::javax::swing::text::DefaultStyledDocument
{

public:
  HTMLDocument();
  HTMLDocument(::javax::swing::text::html::StyleSheet *);
  HTMLDocument(::javax::swing::text::AbstractDocument$Content *, ::javax::swing::text::html::StyleSheet *);
  virtual ::javax::swing::text::html::StyleSheet * getStyleSheet();
public: // actually protected
  virtual ::javax::swing::text::AbstractDocument$AbstractElement * createDefaultRoot();
  virtual ::javax::swing::text::Element * createLeafElement(::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *, jint, jint);
  virtual ::javax::swing::text::Element * createBranchElement(::javax::swing::text::Element *, ::javax::swing::text::AttributeSet *);
public:
  virtual ::javax::swing::text::html::HTMLEditorKit$Parser * getParser();
  virtual void setParser(::javax::swing::text::html::HTMLEditorKit$Parser *);
  virtual void setTokenThreshold(jint);
  virtual jint getTokenThreshold();
  virtual ::java::net::URL * getBase();
  virtual void setBase(::java::net::URL *);
  virtual jboolean getPreservesUnknownTags();
  virtual void setPreservesUnknownTags(jboolean);
  virtual void processHTMLFrameHyperlinkEvent(::javax::swing::text::html::HTMLFrameHyperlinkEvent *);
private:
  ::javax::swing::text::Element * findFrame(::java::lang::String *);
  void updateFrame(::javax::swing::text::Element *, ::java::net::URL *);
  void updateFrameSet(::javax::swing::text::Element *, ::java::net::URL *);
public:
  virtual ::javax::swing::text::html::HTMLDocument$Iterator * getIterator(::javax::swing::text::html::HTML$Tag *);
  virtual ::javax::swing::text::html::HTMLEditorKit$ParserCallback * getReader(jint);
  virtual ::javax::swing::text::html::HTMLEditorKit$ParserCallback * getReader(jint, jint, jint, ::javax::swing::text::html::HTML$Tag *);
  virtual ::javax::swing::text::html::HTMLEditorKit$ParserCallback * getInsertingReader(jint, jint, jint, ::javax::swing::text::html::HTML$Tag *, ::javax::swing::text::Element *);
  virtual ::javax::swing::text::Element * getElement(::javax::swing::text::Element *, ::java::lang::Object *, ::java::lang::Object *);
  virtual ::javax::swing::text::Element * getElement(::java::lang::String *);
  virtual void setInnerHTML(::javax::swing::text::Element *, ::java::lang::String *);
  virtual void setOuterHTML(::javax::swing::text::Element *, ::java::lang::String *);
  virtual void insertBeforeStart(::javax::swing::text::Element *, ::java::lang::String *);
  virtual void insertBeforeEnd(::javax::swing::text::Element *, ::java::lang::String *);
  virtual void insertAfterEnd(::javax::swing::text::Element *, ::java::lang::String *);
  virtual void insertAfterStart(::javax::swing::text::Element *, ::java::lang::String *);
public: // actually protected
  virtual void insertUpdate(::javax::swing::text::AbstractDocument$DefaultDocumentEvent *, ::javax::swing::text::AttributeSet *);
public: // actually package-private
  virtual jboolean isFrameDocument();
  virtual void setFrameDocument(jboolean);
  virtual ::java::lang::String * getBaseTarget();
  virtual void updateSpecialClass(::javax::swing::text::Element *, ::javax::swing::text::html::HTML$Attribute *, ::java::lang::String *);
  static void access$0(::javax::swing::text::html::HTMLDocument *, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *);
  static void access$1(::javax::swing::text::html::HTMLDocument *, jint, JArray< ::javax::swing::text::DefaultStyledDocument$ElementSpec * > *);
  static ::javax::swing::text::AbstractDocument$AttributeContext * access$2(::javax::swing::text::html::HTMLDocument *);
public:
  static ::java::lang::String * AdditionalComments;
public: // actually package-private
  ::java::net::URL * __attribute__((aligned(__alignof__( ::javax::swing::text::DefaultStyledDocument)))) baseURL;
  jboolean preservesUnknownTags;
  jint tokenThreshold;
  ::javax::swing::text::html::HTMLEditorKit$Parser * parser;
private:
  jboolean frameDocument;
public: // actually package-private
  ::java::lang::String * baseTarget;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_html_HTMLDocument__