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