src/share/jaxws_classes/com/sun/xml/internal/dtdparser/DTDHandlerBase.java

Tue, 06 Mar 2012 16:09:35 -0800

author
ohair
date
Tue, 06 Mar 2012 16:09:35 -0800
changeset 286
f50545b5e2f1
child 397
b99d7e355d4b
permissions
-rw-r--r--

7150322: Stop using drop source bundles in jaxws
Reviewed-by: darcy, ohrstrom

     1 /*
     2  * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     8  * particular file as subject to the "Classpath" exception as provided
     9  * by Oracle in the LICENSE file that accompanied this code.
    10  *
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    14  * version 2 for more details (a copy is included in the LICENSE file that
    15  * accompanied this code).
    16  *
    17  * You should have received a copy of the GNU General Public License version
    18  * 2 along with this work; if not, write to the Free Software Foundation,
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    24  */
    26 package com.sun.xml.internal.dtdparser;
    28 import org.xml.sax.Locator;
    29 import org.xml.sax.SAXException;
    30 import org.xml.sax.SAXParseException;
    32 /**
    33  * do-nothing implementation of DTDEventHandler.
    34  */
    35 public class DTDHandlerBase implements DTDEventListener {
    37     public void processingInstruction(String target, String data)
    38             throws SAXException {
    39     }
    41     public void setDocumentLocator(Locator loc) {
    42     }
    44     public void fatalError(SAXParseException e) throws SAXException {
    45         throw e;
    46     }
    48     public void error(SAXParseException e) throws SAXException {
    49         throw e;
    50     }
    52     public void warning(SAXParseException err) throws SAXException {
    53     }
    55     public void notationDecl(String name, String publicId, String systemId) throws SAXException {
    56     }
    58     public void unparsedEntityDecl(String name, String publicId,
    59                                    String systemId, String notationName) throws SAXException {
    60     }
    62     public void endDTD() throws SAXException {
    63     }
    65     public void externalGeneralEntityDecl(String n, String p, String s) throws SAXException {
    66     }
    68     public void internalGeneralEntityDecl(String n, String v) throws SAXException {
    69     }
    71     public void externalParameterEntityDecl(String n, String p, String s) throws SAXException {
    72     }
    74     public void internalParameterEntityDecl(String n, String v) throws SAXException {
    75     }
    77     public void startDTD(InputEntity in) throws SAXException {
    78     }
    80     public void comment(String n) throws SAXException {
    81     }
    83     public void characters(char ch[], int start, int length) throws SAXException {
    84     }
    86     public void ignorableWhitespace(char ch[], int start, int length) throws SAXException {
    87     }
    89     public void startCDATA() throws SAXException {
    90     }
    92     public void endCDATA() throws SAXException {
    93     }
    96     public void startContentModel(String elementName, short contentModelType) throws SAXException {
    97     }
    99     public void endContentModel(String elementName, short contentModelType) throws SAXException {
   100     }
   102     public void attributeDecl(String elementName, String attributeName, String attributeType,
   103                               String[] enumeration, short attributeUse, String defaultValue) throws SAXException {
   104     }
   106     public void childElement(String elementName, short occurence) throws SAXException {
   107     }
   109     public void mixedElement(String elementName) throws SAXException {
   110     }
   112     public void startModelGroup() throws SAXException {
   113     }
   115     public void endModelGroup(short occurence) throws SAXException {
   116     }
   118     public void connector(short connectorType) throws SAXException {
   119     }
   120 }

mercurial