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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_xml_transform_StreamSerializer__
#define __gnu_xml_transform_StreamSerializer__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace xml
{
namespace transform
{
class StreamSerializer;
}
}
}
namespace java
{
namespace nio
{
namespace charset
{
class Charset;
class CharsetEncoder;
}
}
}
namespace org
{
namespace w3c
{
namespace dom
{
class Attr;
class Node;
}
}
}
}
class gnu::xml::transform::StreamSerializer : public ::java::lang::Object
{
public:
StreamSerializer();
StreamSerializer(::java::lang::String *);
StreamSerializer(jint, ::java::lang::String *, ::java::lang::String *);
public: // actually package-private
virtual void setCdataSectionElements(::java::util::Collection *);
public:
virtual void serialize(::org::w3c::dom::Node *, ::java::io::OutputStream *);
public: // actually package-private
virtual void serialize(::org::w3c::dom::Node *, ::java::io::OutputStream *, jboolean);
private:
void doSerialize(::org::w3c::dom::Node *, ::java::io::OutputStream *, jboolean);
public: // actually package-private
virtual jboolean isHTMLElement(::org::w3c::dom::Node *, ::java::lang::String *);
virtual jboolean isDefined(::java::lang::String *, ::java::lang::String *);
virtual void pushNamespaceContext();
virtual ::java::lang::String * define(::java::lang::String *, ::java::lang::String *);
virtual void popNamespaceContext();
virtual JArray< jbyte > * encodeText(::java::lang::String *);
virtual ::java::lang::String * encode(::java::lang::String *, jboolean, jboolean);
virtual ::java::lang::String * toString(::org::w3c::dom::Node *);
virtual jboolean isHTMLBoolean(::org::w3c::dom::Attr *, ::java::lang::String *);
static ::java::lang::String * getHTMLCharacterEntity(jchar);
static const jint SPACE = 32;
static const jint BANG = 33;
static const jint APOS = 39;
static const jint SLASH = 47;
static const jint BRA = 60;
static const jint KET = 62;
static const jint EQ = 61;
static ::java::util::Map * HTML_BOOLEAN_ATTRIBUTES;
static ::java::util::HashSet * HTML_URIS;
public: // actually protected
::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) encoding;
public: // actually package-private
::java::nio::charset::Charset * charset;
::java::nio::charset::CharsetEncoder * encoder;
jint mode;
::java::util::LinkedList * namespaces;
public: // actually protected
::java::lang::String * eol;
public: // actually package-private
::java::util::Collection * cdataSectionElements;
public: // actually protected
jboolean discardDefaultContent;
jboolean xmlDeclaration;
private:
jboolean htmlEncoded;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_xml_transform_StreamSerializer__
|