1 package org.codehaus.plexus.util.xml.pull;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.io.IOException;
23 import java.io.OutputStream;
24 import java.io.Writer;
25
26 public class MXSerializer
27 implements XmlSerializer
28 {
29 private Writer output;
30
31 public void setOutput( Writer writer )
32 {
33 output = writer;
34 }
35
36 public XmlSerializer attribute( String namespace, String name, String value )
37 throws IOException, IllegalArgumentException, IllegalStateException
38 {
39
40 return null;
41 }
42
43 public void cdsect( String text )
44 throws IOException, IllegalArgumentException, IllegalStateException
45 {
46
47
48 }
49
50 public void comment( String text )
51 throws IOException, IllegalArgumentException, IllegalStateException
52 {
53
54
55 }
56
57 public void docdecl( String text )
58 throws IOException, IllegalArgumentException, IllegalStateException
59 {
60
61
62 }
63
64 public void endDocument()
65 throws IOException, IllegalArgumentException, IllegalStateException
66 {
67
68
69 }
70
71 public XmlSerializer endTag( String namespace, String name )
72 throws IOException, IllegalArgumentException, IllegalStateException
73 {
74
75 return null;
76 }
77
78 public void entityRef( String text )
79 throws IOException, IllegalArgumentException, IllegalStateException
80 {
81
82
83 }
84
85 public void flush()
86 throws IOException
87 {
88
89
90 }
91
92 public int getDepth()
93 {
94
95 return 0;
96 }
97
98 public boolean getFeature( String name )
99 {
100
101 return false;
102 }
103
104 public String getName()
105 {
106
107 return null;
108 }
109
110 public String getNamespace()
111 {
112
113 return null;
114 }
115
116 public String getPrefix( String namespace, boolean generatePrefix )
117 throws IllegalArgumentException
118 {
119
120 return null;
121 }
122
123 public Object getProperty( String name )
124 {
125
126 return null;
127 }
128
129 public void ignorableWhitespace( String text )
130 throws IOException, IllegalArgumentException, IllegalStateException
131 {
132
133
134 }
135
136 public void processingInstruction( String text )
137 throws IOException, IllegalArgumentException, IllegalStateException
138 {
139
140
141 }
142
143 public void setFeature( String name, boolean state )
144 throws IllegalArgumentException, IllegalStateException
145 {
146
147
148 }
149
150 public void setOutput( OutputStream os, String encoding )
151 throws IOException, IllegalArgumentException, IllegalStateException
152 {
153
154
155 }
156
157 public void setPrefix( String prefix, String namespace )
158 throws IOException, IllegalArgumentException, IllegalStateException
159 {
160
161
162 }
163
164 public void setProperty( String name, Object value )
165 throws IllegalArgumentException, IllegalStateException
166 {
167
168
169 }
170
171 public void startDocument( String encoding, Boolean standalone )
172 throws IOException, IllegalArgumentException, IllegalStateException
173 {
174
175
176 }
177
178 public XmlSerializer startTag( String namespace, String name )
179 throws IOException, IllegalArgumentException, IllegalStateException
180 {
181 output.write( name );
182
183 return this;
184 }
185
186 public XmlSerializer text( String text )
187 throws IOException, IllegalArgumentException, IllegalStateException
188 {
189
190 return null;
191 }
192
193 public XmlSerializer text( char[] buf, int start, int len )
194 throws IOException, IllegalArgumentException, IllegalStateException
195 {
196
197 return null;
198 }
199 }