View Javadoc
1   package org.codehaus.plexus.util.xml.pull;
2   
3   /*
4    * Licensed to the Apache Software Foundation (ASF) under one
5    * or more contributor license agreements.  See the NOTICE file
6    * distributed with this work for additional information
7    * regarding copyright ownership.  The ASF licenses this file
8    * to you under the Apache License, Version 2.0 (the
9    * "License"); you may not use this file except in compliance
10   * with the License.  You may obtain a copy of the License at
11   *
12   *  http://www.apache.org/licenses/LICENSE-2.0
13   *
14   * Unless required by applicable law or agreed to in writing,
15   * software distributed under the License is distributed on an
16   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   * KIND, either express or implied.  See the License for the
18   * specific language governing permissions and limitations
19   * under the License.
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          // TODO Auto-generated method stub
43          return null;
44      }
45  
46      public void cdsect( String text )
47          throws IOException, IllegalArgumentException, IllegalStateException
48      {
49          // TODO Auto-generated method stub
50  
51      }
52  
53      public void comment( String text )
54          throws IOException, IllegalArgumentException, IllegalStateException
55      {
56          // TODO Auto-generated method stub
57  
58      }
59  
60      public void docdecl( String text )
61          throws IOException, IllegalArgumentException, IllegalStateException
62      {
63          // TODO Auto-generated method stub
64  
65      }
66  
67      public void endDocument()
68          throws IOException, IllegalArgumentException, IllegalStateException
69      {
70          // TODO Auto-generated method stub
71  
72      }
73  
74      public XmlSerializer endTag( String namespace, String name )
75          throws IOException, IllegalArgumentException, IllegalStateException
76      {
77          // TODO Auto-generated method stub
78          return null;
79      }
80  
81      public void entityRef( String text )
82          throws IOException, IllegalArgumentException, IllegalStateException
83      {
84          // TODO Auto-generated method stub
85  
86      }
87  
88      public void flush()
89          throws IOException
90      {
91          // TODO Auto-generated method stub
92  
93      }
94  
95      public int getDepth()
96      {
97          // TODO Auto-generated method stub
98          return 0;
99      }
100 
101     public boolean getFeature( String name )
102     {
103         // TODO Auto-generated method stub
104         return false;
105     }
106 
107     public String getName()
108     {
109         // TODO Auto-generated method stub
110         return null;
111     }
112 
113     public String getNamespace()
114     {
115         // TODO Auto-generated method stub
116         return null;
117     }
118 
119     public String getPrefix( String namespace, boolean generatePrefix )
120         throws IllegalArgumentException
121     {
122         // TODO Auto-generated method stub
123         return null;
124     }
125 
126     public Object getProperty( String name )
127     {
128         // TODO Auto-generated method stub
129         return null;
130     }
131 
132     public void ignorableWhitespace( String text )
133         throws IOException, IllegalArgumentException, IllegalStateException
134     {
135         // TODO Auto-generated method stub
136 
137     }
138 
139     public void processingInstruction( String text )
140         throws IOException, IllegalArgumentException, IllegalStateException
141     {
142         // TODO Auto-generated method stub
143 
144     }
145 
146     public void setFeature( String name, boolean state )
147         throws IllegalArgumentException, IllegalStateException
148     {
149         // TODO Auto-generated method stub
150 
151     }
152 
153     public void setOutput( OutputStream os, String encoding )
154         throws IOException, IllegalArgumentException, IllegalStateException
155     {
156         // TODO Auto-generated method stub
157 
158     }
159 
160     public void setPrefix( String prefix, String namespace )
161         throws IOException, IllegalArgumentException, IllegalStateException
162     {
163         // TODO Auto-generated method stub
164 
165     }
166 
167     public void setProperty( String name, Object value )
168         throws IllegalArgumentException, IllegalStateException
169     {
170         // TODO Auto-generated method stub
171 
172     }
173 
174     public void startDocument( String encoding, Boolean standalone )
175         throws IOException, IllegalArgumentException, IllegalStateException
176     {
177         // TODO Auto-generated method stub
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         // TODO Auto-generated method stub
193         return null;
194     }
195 
196     public XmlSerializer text( char[] buf, int start, int len )
197         throws IOException, IllegalArgumentException, IllegalStateException
198     {
199         // TODO Auto-generated method stub
200         return null;
201     }
202 }