author | joehw |
Wed, 18 Oct 2017 13:25:49 -0700 | |
changeset 47359 | e1a6c0168741 |
parent 47216 | 71c04702a3d5 |
child 48409 | 5ab69533994b |
permissions | -rw-r--r-- |
6 | 1 |
/* |
47359
e1a6c0168741
8181150: Fix lint warnings in JAXP repo: rawtypes and unchecked
joehw
parents:
47216
diff
changeset
|
2 |
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. |
e1a6c0168741
8181150: Fix lint warnings in JAXP repo: rawtypes and unchecked
joehw
parents:
47216
diff
changeset
|
3 |
* @LastModified: Oct 2017 |
6 | 4 |
*/ |
5 |
/* |
|
33349 | 6 |
* Licensed to the Apache Software Foundation (ASF) under one or more |
7 |
* contributor license agreements. See the NOTICE file distributed with |
|
8 |
* this work for additional information regarding copyright ownership. |
|
9 |
* The ASF licenses this file to You under the Apache License, Version 2.0 |
|
10 |
* (the "License"); you may not use this file except in compliance with |
|
11 |
* the License. You may obtain a copy of the License at |
|
6 | 12 |
* |
13 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
14 |
* |
|
15 |
* Unless required by applicable law or agreed to in writing, software |
|
16 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
17 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
18 |
* See the License for the specific language governing permissions and |
|
19 |
* limitations under the License. |
|
20 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
21 |
|
6 | 22 |
package com.sun.org.apache.xml.internal.serializer; |
23 |
||
24 |
import java.io.IOException; |
|
25 |
import java.io.OutputStream; |
|
26 |
import java.io.Writer; |
|
47359
e1a6c0168741
8181150: Fix lint warnings in JAXP repo: rawtypes and unchecked
joehw
parents:
47216
diff
changeset
|
27 |
import java.util.List; |
6 | 28 |
import java.util.Properties; |
29 |
import javax.xml.transform.SourceLocator; |
|
30 |
import javax.xml.transform.Transformer; |
|
31 |
import org.w3c.dom.Node; |
|
32 |
import org.xml.sax.Attributes; |
|
33 |
import org.xml.sax.ContentHandler; |
|
34 |
import org.xml.sax.Locator; |
|
35 |
import org.xml.sax.SAXException; |
|
36 |
import org.xml.sax.SAXParseException; |
|
37 |
||
38 |
/** |
|
39 |
* This class is an adapter class. Its only purpose is to be extended and |
|
40 |
* for that extended class to over-ride all methods that are to be used. |
|
41 |
* |
|
42 |
* This class is not a public API, it is only public because it is used |
|
43 |
* across package boundaries. |
|
44 |
* |
|
45 |
* @xsl.usage internal |
|
46 |
*/ |
|
47 |
public class EmptySerializer implements SerializationHandler |
|
48 |
{ |
|
49 |
protected static final String ERR = "EmptySerializer method not over-ridden"; |
|
50 |
||
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
51 |
protected void couldThrowIOException() throws IOException { |
6 | 52 |
return; // don't do anything. |
53 |
} |
|
54 |
||
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
55 |
protected void couldThrowSAXException() throws SAXException { |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
56 |
return; // don't do anything. |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
57 |
} |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
58 |
|
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
59 |
protected void couldThrowSAXException(char[] chars, int off, int len) |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
60 |
throws SAXException |
6 | 61 |
{ |
62 |
return; // don't do anything. |
|
63 |
} |
|
64 |
||
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
65 |
protected void couldThrowSAXException(String elemQName) |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
66 |
throws SAXException |
6 | 67 |
{ |
68 |
return; // don't do anything. |
|
69 |
} |
|
70 |
||
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
71 |
void aMethodIsCalled() { |
6 | 72 |
// throw new RuntimeException(err); |
73 |
return; |
|
74 |
} |
|
75 |
||
76 |
/** |
|
77 |
* @see SerializationHandler#asContentHandler() |
|
78 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
79 |
public ContentHandler asContentHandler() throws IOException { |
6 | 80 |
couldThrowIOException(); |
81 |
return null; |
|
82 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
83 |
|
6 | 84 |
/** |
85 |
* @see SerializationHandler#setContentHandler(org.xml.sax.ContentHandler) |
|
86 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
87 |
public void setContentHandler(ContentHandler ch) { |
6 | 88 |
aMethodIsCalled(); |
89 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
90 |
|
6 | 91 |
/** |
92 |
* @see SerializationHandler#close() |
|
93 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
94 |
public void close() { |
6 | 95 |
aMethodIsCalled(); |
96 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
97 |
|
6 | 98 |
/** |
99 |
* @see SerializationHandler#getOutputFormat() |
|
100 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
101 |
public Properties getOutputFormat() { |
6 | 102 |
aMethodIsCalled(); |
103 |
return null; |
|
104 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
105 |
|
6 | 106 |
/** |
107 |
* @see SerializationHandler#getOutputStream() |
|
108 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
109 |
public OutputStream getOutputStream() { |
6 | 110 |
aMethodIsCalled(); |
111 |
return null; |
|
112 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
113 |
|
6 | 114 |
/** |
115 |
* @see SerializationHandler#getWriter() |
|
116 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
117 |
public Writer getWriter() { |
6 | 118 |
aMethodIsCalled(); |
119 |
return null; |
|
120 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
121 |
|
6 | 122 |
/** |
123 |
* @see SerializationHandler#reset() |
|
124 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
125 |
public boolean reset() { |
6 | 126 |
aMethodIsCalled(); |
127 |
return false; |
|
128 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
129 |
|
6 | 130 |
/** |
131 |
* @see SerializationHandler#serialize(org.w3c.dom.Node) |
|
132 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
133 |
public void serialize(Node node) throws IOException { |
6 | 134 |
couldThrowIOException(); |
135 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
136 |
|
6 | 137 |
/** |
24888
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
138 |
* @see SerializationHandler#setCdataSectionElements(java.util.ArrayList<String>) |
6 | 139 |
*/ |
47359
e1a6c0168741
8181150: Fix lint warnings in JAXP repo: rawtypes and unchecked
joehw
parents:
47216
diff
changeset
|
140 |
public void setCdataSectionElements(List<String> URI_and_localNames) { |
6 | 141 |
aMethodIsCalled(); |
142 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
143 |
|
6 | 144 |
/** |
145 |
* @see SerializationHandler#setEscaping(boolean) |
|
146 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
147 |
public boolean setEscaping(boolean escape) throws SAXException { |
6 | 148 |
couldThrowSAXException(); |
149 |
return false; |
|
150 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
151 |
|
6 | 152 |
/** |
153 |
* @see SerializationHandler#setIndent(boolean) |
|
154 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
155 |
public void setIndent(boolean indent) { |
6 | 156 |
aMethodIsCalled(); |
157 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
158 |
|
6 | 159 |
/** |
160 |
* @see SerializationHandler#setIndentAmount(int) |
|
161 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
162 |
public void setIndentAmount(int spaces) { |
6 | 163 |
aMethodIsCalled(); |
164 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
165 |
|
6 | 166 |
/** |
12458 | 167 |
* @see SerializationHandler#setIsStandalone(boolean) |
168 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
169 |
public void setIsStandalone(boolean isStandalone) { |
12458 | 170 |
aMethodIsCalled(); |
171 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
172 |
|
12458 | 173 |
/** |
6 | 174 |
* @see SerializationHandler#setOutputFormat(java.util.Properties) |
175 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
176 |
public void setOutputFormat(Properties format) { |
6 | 177 |
aMethodIsCalled(); |
178 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
179 |
|
6 | 180 |
/** |
181 |
* @see SerializationHandler#setOutputStream(java.io.OutputStream) |
|
182 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
183 |
public void setOutputStream(OutputStream output) { |
6 | 184 |
aMethodIsCalled(); |
185 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
186 |
|
6 | 187 |
/** |
188 |
* @see SerializationHandler#setVersion(java.lang.String) |
|
189 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
190 |
public void setVersion(String version) { |
6 | 191 |
aMethodIsCalled(); |
192 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
193 |
|
6 | 194 |
/** |
195 |
* @see SerializationHandler#setWriter(java.io.Writer) |
|
196 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
197 |
public void setWriter(Writer writer) { |
6 | 198 |
aMethodIsCalled(); |
199 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
200 |
|
6 | 201 |
/** |
202 |
* @see SerializationHandler#setTransformer(javax.xml.transform.Transformer) |
|
203 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
204 |
public void setTransformer(Transformer transformer) { |
6 | 205 |
aMethodIsCalled(); |
206 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
207 |
|
6 | 208 |
/** |
209 |
* @see SerializationHandler#getTransformer() |
|
210 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
211 |
public Transformer getTransformer() { |
6 | 212 |
aMethodIsCalled(); |
213 |
return null; |
|
214 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
215 |
|
6 | 216 |
/** |
217 |
* @see SerializationHandler#flushPending() |
|
218 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
219 |
public void flushPending() throws SAXException { |
6 | 220 |
couldThrowSAXException(); |
221 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
222 |
|
6 | 223 |
/** |
224 |
* @see ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) |
|
225 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
226 |
public void addAttribute(String uri, String localName, String rawName, |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
227 |
String type, String value, boolean XSLAttribute) |
6 | 228 |
throws SAXException |
229 |
{ |
|
230 |
couldThrowSAXException(); |
|
231 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
232 |
|
6 | 233 |
/** |
234 |
* @see ExtendedContentHandler#addAttributes(org.xml.sax.Attributes) |
|
235 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
236 |
public void addAttributes(Attributes atts) throws SAXException { |
6 | 237 |
couldThrowSAXException(); |
238 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
239 |
|
6 | 240 |
/** |
241 |
* @see ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String) |
|
242 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
243 |
public void addAttribute(String name, String value) { |
6 | 244 |
aMethodIsCalled(); |
245 |
} |
|
246 |
||
247 |
/** |
|
248 |
* @see ExtendedContentHandler#characters(java.lang.String) |
|
249 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
250 |
public void characters(String chars) throws SAXException { |
6 | 251 |
couldThrowSAXException(); |
252 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
253 |
|
6 | 254 |
/** |
255 |
* @see ExtendedContentHandler#endElement(java.lang.String) |
|
256 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
257 |
public void endElement(String elemName) throws SAXException { |
6 | 258 |
couldThrowSAXException(); |
259 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
260 |
|
6 | 261 |
/** |
262 |
* @see ExtendedContentHandler#startDocument() |
|
263 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
264 |
public void startDocument() throws SAXException { |
6 | 265 |
couldThrowSAXException(); |
266 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
267 |
|
6 | 268 |
/** |
269 |
* @see ExtendedContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String) |
|
270 |
*/ |
|
271 |
public void startElement(String uri, String localName, String qName) |
|
272 |
throws SAXException |
|
273 |
{ |
|
274 |
couldThrowSAXException(qName); |
|
275 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
276 |
|
6 | 277 |
/** |
278 |
* @see ExtendedContentHandler#startElement(java.lang.String) |
|
279 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
280 |
public void startElement(String qName) throws SAXException { |
6 | 281 |
couldThrowSAXException(qName); |
282 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
283 |
|
6 | 284 |
/** |
285 |
* @see ExtendedContentHandler#namespaceAfterStartElement(java.lang.String, java.lang.String) |
|
286 |
*/ |
|
287 |
public void namespaceAfterStartElement(String uri, String prefix) |
|
288 |
throws SAXException |
|
289 |
{ |
|
290 |
couldThrowSAXException(); |
|
291 |
} |
|
292 |
/** |
|
293 |
* @see ExtendedContentHandler#startPrefixMapping(java.lang.String, java.lang.String, boolean) |
|
294 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
295 |
public boolean startPrefixMapping(String prefix, String uri, |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
296 |
boolean shouldFlush) |
6 | 297 |
throws SAXException |
298 |
{ |
|
299 |
couldThrowSAXException(); |
|
300 |
return false; |
|
301 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
302 |
|
6 | 303 |
/** |
304 |
* @see ExtendedContentHandler#entityReference(java.lang.String) |
|
305 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
306 |
public void entityReference(String entityName) throws SAXException { |
6 | 307 |
couldThrowSAXException(); |
308 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
309 |
|
6 | 310 |
/** |
311 |
* @see ExtendedContentHandler#getNamespaceMappings() |
|
312 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
313 |
public NamespaceMappings getNamespaceMappings() { |
6 | 314 |
aMethodIsCalled(); |
315 |
return null; |
|
316 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
317 |
|
6 | 318 |
/** |
319 |
* @see ExtendedContentHandler#getPrefix(java.lang.String) |
|
320 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
321 |
public String getPrefix(String uri) { |
6 | 322 |
aMethodIsCalled(); |
323 |
return null; |
|
324 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
325 |
|
6 | 326 |
/** |
327 |
* @see ExtendedContentHandler#getNamespaceURI(java.lang.String, boolean) |
|
328 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
329 |
public String getNamespaceURI(String name, boolean isElement) { |
6 | 330 |
aMethodIsCalled(); |
331 |
return null; |
|
332 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
333 |
|
6 | 334 |
/** |
335 |
* @see ExtendedContentHandler#getNamespaceURIFromPrefix(java.lang.String) |
|
336 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
337 |
public String getNamespaceURIFromPrefix(String prefix) { |
6 | 338 |
aMethodIsCalled(); |
339 |
return null; |
|
340 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
341 |
|
6 | 342 |
/** |
343 |
* @see org.xml.sax.ContentHandler#setDocumentLocator(org.xml.sax.Locator) |
|
344 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
345 |
public void setDocumentLocator(Locator arg0) { |
6 | 346 |
aMethodIsCalled(); |
347 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
348 |
|
6 | 349 |
/** |
350 |
* @see org.xml.sax.ContentHandler#endDocument() |
|
351 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
352 |
public void endDocument() throws SAXException { |
6 | 353 |
couldThrowSAXException(); |
354 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
355 |
|
6 | 356 |
/** |
357 |
* @see org.xml.sax.ContentHandler#startPrefixMapping(java.lang.String, java.lang.String) |
|
358 |
*/ |
|
359 |
public void startPrefixMapping(String arg0, String arg1) |
|
360 |
throws SAXException |
|
361 |
{ |
|
362 |
couldThrowSAXException(); |
|
363 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
364 |
|
6 | 365 |
/** |
366 |
* @see org.xml.sax.ContentHandler#endPrefixMapping(java.lang.String) |
|
367 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
368 |
public void endPrefixMapping(String arg0) throws SAXException { |
6 | 369 |
couldThrowSAXException(); |
370 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
371 |
|
6 | 372 |
/** |
373 |
* @see org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) |
|
374 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
375 |
public void startElement(String arg0, String arg1, String arg2, |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
376 |
Attributes arg3) |
6 | 377 |
throws SAXException |
378 |
{ |
|
379 |
couldThrowSAXException(); |
|
380 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
381 |
|
6 | 382 |
/** |
383 |
* @see org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String, java.lang.String) |
|
384 |
*/ |
|
385 |
public void endElement(String arg0, String arg1, String arg2) |
|
386 |
throws SAXException |
|
387 |
{ |
|
388 |
couldThrowSAXException(); |
|
389 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
390 |
|
6 | 391 |
/** |
392 |
* @see org.xml.sax.ContentHandler#characters(char[], int, int) |
|
393 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
394 |
public void characters(char[] arg0, int arg1, int arg2) throws SAXException { |
6 | 395 |
couldThrowSAXException(arg0, arg1, arg2); |
396 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
397 |
|
6 | 398 |
/** |
399 |
* @see org.xml.sax.ContentHandler#ignorableWhitespace(char[], int, int) |
|
400 |
*/ |
|
401 |
public void ignorableWhitespace(char[] arg0, int arg1, int arg2) |
|
402 |
throws SAXException |
|
403 |
{ |
|
404 |
couldThrowSAXException(); |
|
405 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
406 |
|
6 | 407 |
/** |
408 |
* @see org.xml.sax.ContentHandler#processingInstruction(java.lang.String, java.lang.String) |
|
409 |
*/ |
|
410 |
public void processingInstruction(String arg0, String arg1) |
|
411 |
throws SAXException |
|
412 |
{ |
|
413 |
couldThrowSAXException(); |
|
414 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
415 |
|
6 | 416 |
/** |
417 |
* @see org.xml.sax.ContentHandler#skippedEntity(java.lang.String) |
|
418 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
419 |
public void skippedEntity(String arg0) throws SAXException { |
6 | 420 |
couldThrowSAXException(); |
421 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
422 |
|
6 | 423 |
/** |
424 |
* @see ExtendedLexicalHandler#comment(java.lang.String) |
|
425 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
426 |
public void comment(String comment) throws SAXException { |
6 | 427 |
couldThrowSAXException(); |
428 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
429 |
|
6 | 430 |
/** |
431 |
* @see org.xml.sax.ext.LexicalHandler#startDTD(java.lang.String, java.lang.String, java.lang.String) |
|
432 |
*/ |
|
433 |
public void startDTD(String arg0, String arg1, String arg2) |
|
434 |
throws SAXException |
|
435 |
{ |
|
436 |
couldThrowSAXException(); |
|
437 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
438 |
|
6 | 439 |
/** |
440 |
* @see org.xml.sax.ext.LexicalHandler#endDTD() |
|
441 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
442 |
public void endDTD() throws SAXException { |
6 | 443 |
couldThrowSAXException(); |
444 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
445 |
|
6 | 446 |
/** |
447 |
* @see org.xml.sax.ext.LexicalHandler#startEntity(java.lang.String) |
|
448 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
449 |
public void startEntity(String arg0) throws SAXException { |
6 | 450 |
couldThrowSAXException(); |
451 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
452 |
|
6 | 453 |
/** |
454 |
* @see org.xml.sax.ext.LexicalHandler#endEntity(java.lang.String) |
|
455 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
456 |
public void endEntity(String arg0) throws SAXException { |
6 | 457 |
couldThrowSAXException(); |
458 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
459 |
|
6 | 460 |
/** |
461 |
* @see org.xml.sax.ext.LexicalHandler#startCDATA() |
|
462 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
463 |
public void startCDATA() throws SAXException { |
6 | 464 |
couldThrowSAXException(); |
465 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
466 |
|
6 | 467 |
/** |
468 |
* @see org.xml.sax.ext.LexicalHandler#endCDATA() |
|
469 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
470 |
public void endCDATA() throws SAXException { |
6 | 471 |
couldThrowSAXException(); |
472 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
473 |
|
6 | 474 |
/** |
475 |
* @see org.xml.sax.ext.LexicalHandler#comment(char[], int, int) |
|
476 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
477 |
public void comment(char[] arg0, int arg1, int arg2) throws SAXException { |
6 | 478 |
couldThrowSAXException(); |
479 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
480 |
|
6 | 481 |
/** |
482 |
* @see XSLOutputAttributes#getDoctypePublic() |
|
483 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
484 |
public String getDoctypePublic() { |
6 | 485 |
aMethodIsCalled(); |
486 |
return null; |
|
487 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
488 |
|
6 | 489 |
/** |
490 |
* @see XSLOutputAttributes#getDoctypeSystem() |
|
491 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
492 |
public String getDoctypeSystem() { |
6 | 493 |
aMethodIsCalled(); |
494 |
return null; |
|
495 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
496 |
|
6 | 497 |
/** |
498 |
* @see XSLOutputAttributes#getEncoding() |
|
499 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
500 |
public String getEncoding() { |
6 | 501 |
aMethodIsCalled(); |
502 |
return null; |
|
503 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
504 |
|
6 | 505 |
/** |
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
506 |
* @see XSLOutputAttributes#getIndent() |
6 | 507 |
*/ |
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
508 |
public boolean getIndent() { |
6 | 509 |
aMethodIsCalled(); |
510 |
return false; |
|
511 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
512 |
|
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
513 |
/** |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
514 |
* @see XSLOutputAttributes#getIndentAmount() |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
515 |
*/ |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
516 |
public int getIndentAmount() { |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
517 |
aMethodIsCalled(); |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
518 |
return 0; |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
519 |
} |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
520 |
|
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
521 |
/** |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
522 |
* @see XSLOutputAttributes#getMediaType() |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
523 |
*/ |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
524 |
public String getMediaType() { |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
525 |
aMethodIsCalled(); |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
526 |
return null; |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
527 |
} |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
528 |
|
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
529 |
/** |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
530 |
* @see XSLOutputAttributes#getOmitXMLDeclaration() |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
531 |
*/ |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
532 |
public boolean getOmitXMLDeclaration() { |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
533 |
aMethodIsCalled(); |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
534 |
return false; |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
535 |
} |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
536 |
|
6 | 537 |
/** |
538 |
* @see XSLOutputAttributes#getStandalone() |
|
539 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
540 |
public String getStandalone() { |
6 | 541 |
aMethodIsCalled(); |
542 |
return null; |
|
543 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
544 |
|
6 | 545 |
/** |
546 |
* @see XSLOutputAttributes#getVersion() |
|
547 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
548 |
public String getVersion() { |
6 | 549 |
aMethodIsCalled(); |
550 |
return null; |
|
551 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
552 |
|
6 | 553 |
/** |
554 |
* @see XSLOutputAttributes#setDoctype(java.lang.String, java.lang.String) |
|
555 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
556 |
public void setDoctype(String system, String pub) { |
6 | 557 |
aMethodIsCalled(); |
558 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
559 |
|
6 | 560 |
/** |
561 |
* @see XSLOutputAttributes#setDoctypePublic(java.lang.String) |
|
562 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
563 |
public void setDoctypePublic(String doctype) { |
6 | 564 |
aMethodIsCalled(); |
565 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
566 |
|
6 | 567 |
/** |
568 |
* @see XSLOutputAttributes#setDoctypeSystem(java.lang.String) |
|
569 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
570 |
public void setDoctypeSystem(String doctype) { |
6 | 571 |
aMethodIsCalled(); |
572 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
573 |
|
6 | 574 |
/** |
575 |
* @see XSLOutputAttributes#setEncoding(java.lang.String) |
|
576 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
577 |
public void setEncoding(String encoding) { |
6 | 578 |
aMethodIsCalled(); |
579 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
580 |
|
6 | 581 |
/** |
582 |
* @see XSLOutputAttributes#setMediaType(java.lang.String) |
|
583 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
584 |
public void setMediaType(String mediatype) { |
6 | 585 |
aMethodIsCalled(); |
586 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
587 |
|
6 | 588 |
/** |
589 |
* @see XSLOutputAttributes#setOmitXMLDeclaration(boolean) |
|
590 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
591 |
public void setOmitXMLDeclaration(boolean b) { |
6 | 592 |
aMethodIsCalled(); |
593 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
594 |
|
6 | 595 |
/** |
596 |
* @see XSLOutputAttributes#setStandalone(java.lang.String) |
|
597 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
598 |
public void setStandalone(String standalone) { |
6 | 599 |
aMethodIsCalled(); |
600 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
601 |
|
6 | 602 |
/** |
603 |
* @see org.xml.sax.ext.DeclHandler#elementDecl(java.lang.String, java.lang.String) |
|
604 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
605 |
public void elementDecl(String arg0, String arg1) throws SAXException { |
6 | 606 |
couldThrowSAXException(); |
607 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
608 |
|
6 | 609 |
/** |
610 |
* @see org.xml.sax.ext.DeclHandler#attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) |
|
611 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
612 |
public void attributeDecl(String arg0, String arg1, String arg2, |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
613 |
String arg3, String arg4) |
6 | 614 |
throws SAXException |
615 |
{ |
|
616 |
couldThrowSAXException(); |
|
617 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
618 |
|
6 | 619 |
/** |
620 |
* @see org.xml.sax.ext.DeclHandler#internalEntityDecl(java.lang.String, java.lang.String) |
|
621 |
*/ |
|
622 |
public void internalEntityDecl(String arg0, String arg1) |
|
623 |
throws SAXException |
|
624 |
{ |
|
625 |
couldThrowSAXException(); |
|
626 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
627 |
|
6 | 628 |
/** |
629 |
* @see org.xml.sax.ext.DeclHandler#externalEntityDecl(java.lang.String, java.lang.String, java.lang.String) |
|
630 |
*/ |
|
631 |
public void externalEntityDecl(String arg0, String arg1, String arg2) |
|
632 |
throws SAXException |
|
633 |
{ |
|
634 |
couldThrowSAXException(); |
|
635 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
636 |
|
6 | 637 |
/** |
638 |
* @see org.xml.sax.ErrorHandler#warning(org.xml.sax.SAXParseException) |
|
639 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
640 |
public void warning(SAXParseException arg0) throws SAXException { |
6 | 641 |
couldThrowSAXException(); |
642 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
643 |
|
6 | 644 |
/** |
645 |
* @see org.xml.sax.ErrorHandler#error(org.xml.sax.SAXParseException) |
|
646 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
647 |
public void error(SAXParseException arg0) throws SAXException { |
6 | 648 |
couldThrowSAXException(); |
649 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
650 |
|
6 | 651 |
/** |
652 |
* @see org.xml.sax.ErrorHandler#fatalError(org.xml.sax.SAXParseException) |
|
653 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
654 |
public void fatalError(SAXParseException arg0) throws SAXException { |
6 | 655 |
couldThrowSAXException(); |
656 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
657 |
|
6 | 658 |
/** |
659 |
* @see Serializer#asDOMSerializer() |
|
660 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
661 |
public DOMSerializer asDOMSerializer() throws IOException { |
6 | 662 |
couldThrowIOException(); |
663 |
return null; |
|
664 |
} |
|
665 |
||
666 |
/** |
|
667 |
* @see SerializationHandler#setNamespaceMappings(NamespaceMappings) |
|
668 |
*/ |
|
669 |
public void setNamespaceMappings(NamespaceMappings mappings) { |
|
670 |
aMethodIsCalled(); |
|
671 |
} |
|
672 |
||
673 |
/** |
|
674 |
* @see ExtendedContentHandler#setSourceLocator(javax.xml.transform.SourceLocator) |
|
675 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
676 |
public void setSourceLocator(SourceLocator locator) { |
6 | 677 |
aMethodIsCalled(); |
678 |
} |
|
679 |
||
680 |
/** |
|
681 |
* @see ExtendedContentHandler#addUniqueAttribute(java.lang.String, java.lang.String, int) |
|
682 |
*/ |
|
683 |
public void addUniqueAttribute(String name, String value, int flags) |
|
684 |
throws SAXException |
|
685 |
{ |
|
686 |
couldThrowSAXException(); |
|
687 |
} |
|
688 |
||
689 |
/** |
|
690 |
* @see ExtendedContentHandler#characters(org.w3c.dom.Node) |
|
691 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
692 |
public void characters(Node node) throws SAXException { |
6 | 693 |
couldThrowSAXException(); |
694 |
} |
|
695 |
||
696 |
/** |
|
697 |
* @see ExtendedContentHandler#addXSLAttribute(java.lang.String, java.lang.String, java.lang.String) |
|
698 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
699 |
public void addXSLAttribute(String qName, String value, String uri) { |
6 | 700 |
aMethodIsCalled(); |
701 |
} |
|
702 |
||
703 |
/** |
|
704 |
* @see ExtendedContentHandler#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String) |
|
705 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
706 |
public void addAttribute(String uri, String localName, String rawName, |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
707 |
String type, String value) throws SAXException { |
6 | 708 |
couldThrowSAXException(); |
709 |
} |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
710 |
|
6 | 711 |
/** |
712 |
* @see org.xml.sax.DTDHandler#notationDecl(java.lang.String, java.lang.String, java.lang.String) |
|
713 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
714 |
public void notationDecl(String arg0, String arg1, String arg2) |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
715 |
throws SAXException |
6 | 716 |
{ |
717 |
couldThrowSAXException(); |
|
718 |
} |
|
719 |
||
720 |
/** |
|
721 |
* @see org.xml.sax.DTDHandler#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String) |
|
722 |
*/ |
|
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
723 |
public void unparsedEntityDecl(String arg0, String arg1, String arg2, |
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
724 |
String arg3) throws SAXException { |
6 | 725 |
couldThrowSAXException(); |
726 |
} |
|
727 |
||
728 |
/** |
|
729 |
* @see SerializationHandler#setDTDEntityExpansion(boolean) |
|
730 |
*/ |
|
731 |
public void setDTDEntityExpansion(boolean expand) { |
|
732 |
aMethodIsCalled(); |
|
733 |
} |
|
24888
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
734 |
|
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
735 |
public String getOutputProperty(String name) { |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
736 |
aMethodIsCalled(); |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
737 |
return null; |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
738 |
} |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
739 |
|
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
740 |
public String getOutputPropertyDefault(String name) { |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
741 |
aMethodIsCalled(); |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
742 |
return null; |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
743 |
} |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
744 |
|
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
745 |
public void setOutputProperty(String name, String val) { |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
746 |
aMethodIsCalled(); |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
747 |
} |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
748 |
|
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
749 |
public void setOutputPropertyDefault(String name, String val) { |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
750 |
aMethodIsCalled(); |
2e493ac78624
8041523: Xerces Update: Serializer improvements from Xalan
joehw
parents:
12458
diff
changeset
|
751 |
} |
25834
aba3efbf4ec5
8035467: Xerces Update: Move to Xalan based DOM L3 serializer. Deprecate Xerces' native serializer.
joehw
parents:
24888
diff
changeset
|
752 |
|
aba3efbf4ec5
8035467: Xerces Update: Move to Xalan based DOM L3 serializer. Deprecate Xerces' native serializer.
joehw
parents:
24888
diff
changeset
|
753 |
/** |
aba3efbf4ec5
8035467: Xerces Update: Move to Xalan based DOM L3 serializer. Deprecate Xerces' native serializer.
joehw
parents:
24888
diff
changeset
|
754 |
* @see org.apache.xml.serializer.Serializer#asDOM3Serializer() |
aba3efbf4ec5
8035467: Xerces Update: Move to Xalan based DOM L3 serializer. Deprecate Xerces' native serializer.
joehw
parents:
24888
diff
changeset
|
755 |
*/ |
42249
39ec1a731d99
8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
clanger
parents:
33349
diff
changeset
|
756 |
public Object asDOM3Serializer() throws IOException { |
25834
aba3efbf4ec5
8035467: Xerces Update: Move to Xalan based DOM L3 serializer. Deprecate Xerces' native serializer.
joehw
parents:
24888
diff
changeset
|
757 |
couldThrowIOException(); |
aba3efbf4ec5
8035467: Xerces Update: Move to Xalan based DOM L3 serializer. Deprecate Xerces' native serializer.
joehw
parents:
24888
diff
changeset
|
758 |
return null; |
aba3efbf4ec5
8035467: Xerces Update: Move to Xalan based DOM L3 serializer. Deprecate Xerces' native serializer.
joehw
parents:
24888
diff
changeset
|
759 |
} |
6 | 760 |
} |