OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [xml/] [util/] [XMLWriter.h] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_xml_util_XMLWriter__
5
#define __gnu_xml_util_XMLWriter__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace lang
19
      {
20
          class CPStringBuilder;
21
      }
22
    }
23
    namespace xml
24
    {
25
      namespace util
26
      {
27
          class XMLWriter;
28
      }
29
    }
30
  }
31
  namespace org
32
  {
33
    namespace xml
34
    {
35
      namespace sax
36
      {
37
          class Attributes;
38
          class ErrorHandler;
39
          class Locator;
40
      }
41
    }
42
  }
43
}
44
 
45
class gnu::xml::util::XMLWriter : public ::java::lang::Object
46
{
47
 
48
  static jboolean isLineEnd(::java::lang::String *);
49
public:
50
  XMLWriter();
51
  XMLWriter(::java::io::OutputStream *);
52
  XMLWriter(::java::io::Writer *);
53
  XMLWriter(::java::io::Writer *, ::java::lang::String *);
54
private:
55
  void setEncoding(::java::lang::String *);
56
public:
57
  virtual void setWriter(::java::io::Writer *, ::java::lang::String *);
58
  virtual void setEOL(::java::lang::String *);
59
  virtual void setErrorHandler(::org::xml::sax::ErrorHandler *);
60
public: // actually protected
61
  virtual void fatal(::java::lang::String *, ::java::lang::Exception *);
62
public:
63
  virtual void setXhtml(jboolean);
64
  virtual jboolean isXhtml();
65
  virtual void setExpandingEntities(jboolean);
66
  virtual jboolean isExpandingEntities();
67
  virtual void setPrettyPrinting(jboolean);
68
  virtual jboolean isPrettyPrinting();
69
  virtual void setCanonical(jboolean);
70
  virtual jboolean isCanonical();
71
  virtual void flush();
72
  virtual void write(::java::lang::String *);
73
  virtual void writeElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *, ::java::lang::String *);
74
  virtual void writeElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *, jint);
75
  virtual void setDocumentLocator(::org::xml::sax::Locator *);
76
  virtual void startDocument();
77
  virtual void endDocument();
78
private:
79
  static jboolean isEmptyElementTag(::java::lang::String *);
80
  static jboolean indentBefore(::java::lang::String *);
81
  static jboolean spaceBefore(::java::lang::String *);
82
  static jboolean spacePreserve(::java::lang::String *);
83
public:
84
  virtual void startPrefixMapping(::java::lang::String *, ::java::lang::String *);
85
  virtual void endPrefixMapping(::java::lang::String *);
86
private:
87
  void writeStartTag(::java::lang::String *, ::org::xml::sax::Attributes *, jboolean);
88
public:
89
  virtual void startElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
90
  virtual void writeEmptyElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::org::xml::sax::Attributes *);
91
  virtual void endElement(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
92
  virtual void characters(JArray< jchar > *, jint, jint);
93
  virtual void ignorableWhitespace(JArray< jchar > *, jint, jint);
94
  virtual void processingInstruction(::java::lang::String *, ::java::lang::String *);
95
  virtual void skippedEntity(::java::lang::String *);
96
  virtual void startCDATA();
97
  virtual void endCDATA();
98
  virtual void startDTD(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
99
  virtual void endDTD();
100
  virtual void startEntity(::java::lang::String *);
101
  virtual void endEntity(::java::lang::String *);
102
  virtual void comment(JArray< jchar > *, jint, jint);
103
  virtual void notationDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
104
  virtual void unparsedEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
105
  virtual void attributeDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
106
  virtual void elementDecl(::java::lang::String *, ::java::lang::String *);
107
  virtual void externalEntityDecl(::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
108
  virtual void internalEntityDecl(::java::lang::String *, ::java::lang::String *);
109
private:
110
  void writeQuotedValue(::java::lang::String *, jint);
111
  void escapeChars(JArray< jchar > *, jint, jint, jint);
112
  void newline();
113
  void doIndent();
114
  void rawWrite(jchar);
115
  void rawWrite(::java::lang::String *);
116
  void rawWrite(JArray< jchar > *, jint, jint);
117
  static const jint CTX_ENTITY = 1;
118
  static const jint CTX_ATTRIBUTE = 2;
119
  static const jint CTX_CONTENT = 3;
120
  static const jint CTX_UNPARSED = 4;
121
  static const jint CTX_NAME = 5;
122
  static ::java::lang::String * sysEOL;
123
  ::java::io::Writer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) out;
124
  jboolean inCDATA;
125
  jint elementNestLevel;
126
  ::java::lang::String * eol;
127
  jshort dangerMask;
128
  ::gnu::java::lang::CPStringBuilder * stringBuf;
129
  ::org::xml::sax::Locator * locator;
130
  ::org::xml::sax::ErrorHandler * errHandler;
131
  jboolean expandingEntities;
132
  jint entityNestLevel;
133
  jboolean xhtml;
134
  jboolean startedDoctype;
135
  ::java::lang::String * encoding;
136
  jboolean canonical;
137
  jboolean inDoctype;
138
  jboolean inEpilogue;
139
  jboolean prettyPrinting;
140
  jint column;
141
  jboolean noWrap;
142
  ::java::util::Stack * space;
143
  static const jint lineLength = 75;
144
  static ::java::lang::String * xhtmlFullDTD;
145
  static JArray< ::java::lang::String * > * HTMLlat1x;
146
  static JArray< ::java::lang::String * > * HTMLsymbolx_GR;
147
  static JArray< ::java::lang::String * > * HTMLsymbolx_gr;
148
public:
149
  static ::java::lang::Class class$;
150
};
151
 
152
#endif // __gnu_xml_util_XMLWriter__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.