KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > caucho > xml > stream > XMLEventFactoryImpl


1 /*
2 * Copyright (c) 1998-2006 Caucho Technology -- all rights reserved
3 *
4 * This file is part of Resin(R) Open Source
5 *
6 * Each copy or derived work must preserve the copyright notice and this
7 * notice unmodified.
8 *
9 * Resin Open Source is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * Resin Open Source is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, or any warranty
17 * of NON-INFRINGEMENT. See the GNU General Public License for more
18 * details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with Resin Open Source; if not, write to the
22 *
23 * Free Software Foundation, Inc.
24 * 59 Temple Place, Suite 330
25 * Boston, MA 02111-1307 USA
26 *
27 * @author Adam Megacz
28 */

29
30 package com.caucho.xml.stream;
31 import javax.xml.namespace.NamespaceContext JavaDoc;
32 import javax.xml.namespace.QName JavaDoc;
33 import javax.xml.stream.Location;
34 import javax.xml.stream.XMLEventFactory;
35 import javax.xml.stream.events.*;
36 import java.util.Iterator JavaDoc;
37
38 public class XMLEventFactoryImpl extends XMLEventFactory {
39
40   protected XMLEventFactoryImpl()
41   {
42   }
43
44   public Attribute createAttribute(QName JavaDoc name, String JavaDoc value)
45   {
46     throw new UnsupportedOperationException JavaDoc();
47   }
48
49   public Attribute createAttribute(String JavaDoc localName, String JavaDoc value)
50   {
51     throw new UnsupportedOperationException JavaDoc();
52   }
53
54   public Attribute createAttribute(String JavaDoc prefix, String JavaDoc namespaceURI,
55                                    String JavaDoc localName, String JavaDoc value)
56   {
57     throw new UnsupportedOperationException JavaDoc();
58   }
59
60   public Characters createCData(String JavaDoc content)
61   {
62     throw new UnsupportedOperationException JavaDoc();
63   }
64
65   public Characters createCharacters(String JavaDoc content)
66   {
67     throw new UnsupportedOperationException JavaDoc();
68   }
69
70   public Comment createComment(String JavaDoc text)
71   {
72     throw new UnsupportedOperationException JavaDoc();
73   }
74
75   public DTD createDTD(String JavaDoc dtd)
76   {
77     throw new UnsupportedOperationException JavaDoc();
78   }
79
80   public EndDocument createEndDocument()
81   {
82     throw new UnsupportedOperationException JavaDoc();
83   }
84
85   public EndElement createEndElement(QName JavaDoc name, Iterator JavaDoc namespaces)
86   {
87     throw new UnsupportedOperationException JavaDoc();
88   }
89
90   public EndElement createEndElement(String JavaDoc prefix,
91                                               String JavaDoc namespaceUri,
92                                               String JavaDoc localName)
93   {
94     throw new UnsupportedOperationException JavaDoc();
95   }
96
97   public EndElement createEndElement(String JavaDoc prefix,
98                                               String JavaDoc namespaceUri,
99                                               String JavaDoc localName,
100                                               Iterator JavaDoc namespaces)
101   {
102     throw new UnsupportedOperationException JavaDoc();
103   }
104
105   public EntityReference
106     createEntityReference(String JavaDoc name, EntityDeclaration declaration)
107   {
108     throw new UnsupportedOperationException JavaDoc();
109   }
110
111   public Characters createIgnorableSpace(String JavaDoc content)
112   {
113     throw new UnsupportedOperationException JavaDoc();
114   }
115
116   public Namespace createNamespace(String JavaDoc namespaceURI)
117   {
118     throw new UnsupportedOperationException JavaDoc();
119   }
120
121   public Namespace createNamespace(String JavaDoc prefix, String JavaDoc namespaceUri)
122   {
123     throw new UnsupportedOperationException JavaDoc();
124   }
125
126   public ProcessingInstruction
127     createProcessingInstruction(String JavaDoc target, String JavaDoc data)
128   {
129     throw new UnsupportedOperationException JavaDoc();
130   }
131
132   public Characters createSpace(String JavaDoc content)
133   {
134     throw new UnsupportedOperationException JavaDoc();
135   }
136
137   public StartDocument createStartDocument()
138   {
139     throw new UnsupportedOperationException JavaDoc();
140   }
141
142   public StartDocument createStartDocument(String JavaDoc encoding)
143   {
144     throw new UnsupportedOperationException JavaDoc();
145   }
146
147   public StartDocument createStartDocument(String JavaDoc encoding,
148                                                     String JavaDoc version)
149   {
150     throw new UnsupportedOperationException JavaDoc();
151   }
152
153   public StartDocument createStartDocument(String JavaDoc encoding,
154                                                     String JavaDoc version,
155                                                     boolean standalone)
156   {
157     throw new UnsupportedOperationException JavaDoc();
158   }
159
160   public StartElement createStartElement(QName JavaDoc name,
161                                                   Iterator JavaDoc attributes,
162                                                   Iterator JavaDoc namespaces)
163   {
164     throw new UnsupportedOperationException JavaDoc();
165   }
166
167   public StartElement createStartElement(String JavaDoc prefix,
168                                                   String JavaDoc namespaceUri,
169                                                   String JavaDoc localName)
170   {
171     throw new UnsupportedOperationException JavaDoc();
172   }
173
174   public StartElement createStartElement(String JavaDoc prefix,
175                                                   String JavaDoc namespaceUri,
176                                                   String JavaDoc localName,
177                                                   Iterator JavaDoc attributes,
178                                                   Iterator JavaDoc namespaces)
179   {
180     throw new UnsupportedOperationException JavaDoc();
181   }
182
183   public StartElement createStartElement(String JavaDoc prefix,
184                                                   String JavaDoc namespaceUri,
185                                                   String JavaDoc localName,
186                                                   Iterator JavaDoc attributes,
187                                                   Iterator JavaDoc namespaces,
188                                                   NamespaceContext JavaDoc context)
189   {
190     throw new UnsupportedOperationException JavaDoc();
191   }
192
193   public void setLocation(Location location)
194   {
195     throw new UnsupportedOperationException JavaDoc();
196   }
197
198 }
199
200
Popular Tags