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