jaxp/src/share/classes/org/xml/sax/ext/EntityResolver2.java
author ohair
Mon, 14 Apr 2008 14:52:27 -0700
changeset 311 3c14f21bf3f7
parent 6 7f561c08de6b
permissions -rw-r--r--
6484686: The next directory looks like it is no longer part of the build (deploy makefiles) Summary: Getting rid of the _OUTPUTDIR settings. Using BUILD_PARENT_DIRECTORY instead. This solves problems with the "/build/windows-i586*" paths getting mangled on Windows builds (fastdebug builds in particular). Reviewed-by: tbell
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
 * Copyright 2004-2005 Sun Microsystems, Inc.  All Rights Reserved.
7f561c08de6b Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7f561c08de6b Initial load
duke
parents:
diff changeset
     4
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
7f561c08de6b Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
7f561c08de6b Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
7f561c08de6b Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
7f561c08de6b Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
7f561c08de6b Initial load
duke
parents:
diff changeset
    10
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
7f561c08de6b Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7f561c08de6b Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
7f561c08de6b Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
7f561c08de6b Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
7f561c08de6b Initial load
duke
parents:
diff changeset
    16
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
7f561c08de6b Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
7f561c08de6b Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7f561c08de6b Initial load
duke
parents:
diff changeset
    20
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
7f561c08de6b Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
7f561c08de6b Initial load
duke
parents:
diff changeset
    23
 * have any questions.
7f561c08de6b Initial load
duke
parents:
diff changeset
    24
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    25
7f561c08de6b Initial load
duke
parents:
diff changeset
    26
// EntityResolver2.java - Extended SAX entity resolver.
7f561c08de6b Initial load
duke
parents:
diff changeset
    27
// http://www.saxproject.org
7f561c08de6b Initial load
duke
parents:
diff changeset
    28
// No warranty; no copyright -- use this as you will.
7f561c08de6b Initial load
duke
parents:
diff changeset
    29
// $Id: EntityResolver2.java,v 1.2 2004/11/03 22:49:08 jsuttor Exp $
7f561c08de6b Initial load
duke
parents:
diff changeset
    30
7f561c08de6b Initial load
duke
parents:
diff changeset
    31
package org.xml.sax.ext;
7f561c08de6b Initial load
duke
parents:
diff changeset
    32
7f561c08de6b Initial load
duke
parents:
diff changeset
    33
import java.io.IOException;
7f561c08de6b Initial load
duke
parents:
diff changeset
    34
7f561c08de6b Initial load
duke
parents:
diff changeset
    35
import org.xml.sax.EntityResolver;
7f561c08de6b Initial load
duke
parents:
diff changeset
    36
import org.xml.sax.InputSource;
7f561c08de6b Initial load
duke
parents:
diff changeset
    37
import org.xml.sax.XMLReader;
7f561c08de6b Initial load
duke
parents:
diff changeset
    38
import org.xml.sax.SAXException;
7f561c08de6b Initial load
duke
parents:
diff changeset
    39
7f561c08de6b Initial load
duke
parents:
diff changeset
    40
7f561c08de6b Initial load
duke
parents:
diff changeset
    41
/**
7f561c08de6b Initial load
duke
parents:
diff changeset
    42
 * Extended interface for mapping external entity references to input
7f561c08de6b Initial load
duke
parents:
diff changeset
    43
 * sources, or providing a missing external subset.  The
7f561c08de6b Initial load
duke
parents:
diff changeset
    44
 * {@link XMLReader#setEntityResolver XMLReader.setEntityResolver()} method
7f561c08de6b Initial load
duke
parents:
diff changeset
    45
 * is used to provide implementations of this interface to parsers.
7f561c08de6b Initial load
duke
parents:
diff changeset
    46
 * When a parser uses the methods in this interface, the
7f561c08de6b Initial load
duke
parents:
diff changeset
    47
 * {@link EntityResolver2#resolveEntity EntityResolver2.resolveEntity()}
7f561c08de6b Initial load
duke
parents:
diff changeset
    48
 * method (in this interface) is used <em>instead of</em> the older (SAX 1.0)
7f561c08de6b Initial load
duke
parents:
diff changeset
    49
 * {@link EntityResolver#resolveEntity EntityResolver.resolveEntity()} method.
7f561c08de6b Initial load
duke
parents:
diff changeset
    50
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    51
 * <blockquote>
7f561c08de6b Initial load
duke
parents:
diff changeset
    52
 * <em>This module, both source code and documentation, is in the
7f561c08de6b Initial load
duke
parents:
diff changeset
    53
 * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
7f561c08de6b Initial load
duke
parents:
diff changeset
    54
 * </blockquote>
7f561c08de6b Initial load
duke
parents:
diff changeset
    55
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    56
 * <p>If a SAX application requires the customized handling which this
7f561c08de6b Initial load
duke
parents:
diff changeset
    57
 * interface defines for external entities, it must ensure that it uses
7f561c08de6b Initial load
duke
parents:
diff changeset
    58
 * an XMLReader with the
7f561c08de6b Initial load
duke
parents:
diff changeset
    59
 * <em>http://xml.org/sax/features/use-entity-resolver2</em> feature flag
7f561c08de6b Initial load
duke
parents:
diff changeset
    60
 * set to <em>true</em> (which is its default value when the feature is
7f561c08de6b Initial load
duke
parents:
diff changeset
    61
 * recognized).  If that flag is unrecognized, or its value is false,
7f561c08de6b Initial load
duke
parents:
diff changeset
    62
 * or the resolver does not implement this interface, then only the
7f561c08de6b Initial load
duke
parents:
diff changeset
    63
 * {@link EntityResolver} method will be used.
7f561c08de6b Initial load
duke
parents:
diff changeset
    64
 * </p>
7f561c08de6b Initial load
duke
parents:
diff changeset
    65
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    66
 * <p>That supports three categories of application that modify entity
7f561c08de6b Initial load
duke
parents:
diff changeset
    67
 * resolution.  <em>Old Style</em> applications won't know about this interface;
7f561c08de6b Initial load
duke
parents:
diff changeset
    68
 * they will provide an EntityResolver.
7f561c08de6b Initial load
duke
parents:
diff changeset
    69
 * <em>Transitional Mode</em> provide an EntityResolver2 and automatically
7f561c08de6b Initial load
duke
parents:
diff changeset
    70
 * get the benefit of its methods in any systems (parsers or other tools)
7f561c08de6b Initial load
duke
parents:
diff changeset
    71
 * supporting it, due to polymorphism.
7f561c08de6b Initial load
duke
parents:
diff changeset
    72
 * Both <em>Old Style</em> and <em>Transitional Mode</em> applications will
7f561c08de6b Initial load
duke
parents:
diff changeset
    73
 * work with any SAX2 parser.
7f561c08de6b Initial load
duke
parents:
diff changeset
    74
 * <em>New style</em> applications will fail to run except on SAX2 parsers
7f561c08de6b Initial load
duke
parents:
diff changeset
    75
 * that support this particular feature.
7f561c08de6b Initial load
duke
parents:
diff changeset
    76
 * They will insist that feature flag have a value of "true", and the
7f561c08de6b Initial load
duke
parents:
diff changeset
    77
 * EntityResolver2 implementation they provide  might throw an exception
7f561c08de6b Initial load
duke
parents:
diff changeset
    78
 * if the original SAX 1.0 style entity resolution method is invoked.
7f561c08de6b Initial load
duke
parents:
diff changeset
    79
 * </p>
7f561c08de6b Initial load
duke
parents:
diff changeset
    80
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    81
 * @see org.xml.sax.XMLReader#setEntityResolver
7f561c08de6b Initial load
duke
parents:
diff changeset
    82
 *
7f561c08de6b Initial load
duke
parents:
diff changeset
    83
 * @since SAX 2.0 (extensions 1.1 alpha)
7f561c08de6b Initial load
duke
parents:
diff changeset
    84
 * @author David Brownell
7f561c08de6b Initial load
duke
parents:
diff changeset
    85
 */
7f561c08de6b Initial load
duke
parents:
diff changeset
    86
public interface EntityResolver2 extends EntityResolver
7f561c08de6b Initial load
duke
parents:
diff changeset
    87
{
7f561c08de6b Initial load
duke
parents:
diff changeset
    88
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
    89
     * Allows applications to provide an external subset for documents
7f561c08de6b Initial load
duke
parents:
diff changeset
    90
     * that don't explicitly define one.  Documents with DOCTYPE declarations
7f561c08de6b Initial load
duke
parents:
diff changeset
    91
     * that omit an external subset can thus augment the declarations
7f561c08de6b Initial load
duke
parents:
diff changeset
    92
     * available for validation, entity processing, and attribute processing
7f561c08de6b Initial load
duke
parents:
diff changeset
    93
     * (normalization, defaulting, and reporting types including ID).
7f561c08de6b Initial load
duke
parents:
diff changeset
    94
     * This augmentation is reported
7f561c08de6b Initial load
duke
parents:
diff changeset
    95
     * through the {@link LexicalHandler#startDTD startDTD()} method as if
7f561c08de6b Initial load
duke
parents:
diff changeset
    96
     * the document text had originally included the external subset;
7f561c08de6b Initial load
duke
parents:
diff changeset
    97
     * this callback is made before any internal subset data or errors
7f561c08de6b Initial load
duke
parents:
diff changeset
    98
     * are reported.</p>
7f561c08de6b Initial load
duke
parents:
diff changeset
    99
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   100
     * <p>This method can also be used with documents that have no DOCTYPE
7f561c08de6b Initial load
duke
parents:
diff changeset
   101
     * declaration.  When the root element is encountered,
7f561c08de6b Initial load
duke
parents:
diff changeset
   102
     * but no DOCTYPE declaration has been seen, this method is
7f561c08de6b Initial load
duke
parents:
diff changeset
   103
     * invoked.  If it returns a value for the external subset, that root
7f561c08de6b Initial load
duke
parents:
diff changeset
   104
     * element is declared to be the root element, giving the effect of
7f561c08de6b Initial load
duke
parents:
diff changeset
   105
     * splicing a DOCTYPE declaration at the end the prolog of a document
7f561c08de6b Initial load
duke
parents:
diff changeset
   106
     * that could not otherwise be valid.  The sequence of parser callbacks
7f561c08de6b Initial load
duke
parents:
diff changeset
   107
     * in that case logically resembles this:</p>
7f561c08de6b Initial load
duke
parents:
diff changeset
   108
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   109
     * <pre>
7f561c08de6b Initial load
duke
parents:
diff changeset
   110
     * ... comments and PIs from the prolog (as usual)
7f561c08de6b Initial load
duke
parents:
diff changeset
   111
     * startDTD ("rootName", source.getPublicId (), source.getSystemId ());
7f561c08de6b Initial load
duke
parents:
diff changeset
   112
     * startEntity ("[dtd]");
7f561c08de6b Initial load
duke
parents:
diff changeset
   113
     * ... declarations, comments, and PIs from the external subset
7f561c08de6b Initial load
duke
parents:
diff changeset
   114
     * endEntity ("[dtd]");
7f561c08de6b Initial load
duke
parents:
diff changeset
   115
     * endDTD ();
7f561c08de6b Initial load
duke
parents:
diff changeset
   116
     * ... then the rest of the document (as usual)
7f561c08de6b Initial load
duke
parents:
diff changeset
   117
     * startElement (..., "rootName", ...);
7f561c08de6b Initial load
duke
parents:
diff changeset
   118
     * </pre>
7f561c08de6b Initial load
duke
parents:
diff changeset
   119
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   120
     * <p>Note that the InputSource gets no further resolution.
7f561c08de6b Initial load
duke
parents:
diff changeset
   121
     * Implementations of this method may wish to invoke
7f561c08de6b Initial load
duke
parents:
diff changeset
   122
     * {@link #resolveEntity resolveEntity()} to gain benefits such as use
7f561c08de6b Initial load
duke
parents:
diff changeset
   123
     * of local caches of DTD entities.  Also, this method will never be
7f561c08de6b Initial load
duke
parents:
diff changeset
   124
     * used by a (non-validating) processor that is not including external
7f561c08de6b Initial load
duke
parents:
diff changeset
   125
     * parameter entities. </p>
7f561c08de6b Initial load
duke
parents:
diff changeset
   126
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   127
     * <p>Uses for this method include facilitating data validation when
7f561c08de6b Initial load
duke
parents:
diff changeset
   128
     * interoperating with XML processors that would always require
7f561c08de6b Initial load
duke
parents:
diff changeset
   129
     * undesirable network accesses for external entities, or which for
7f561c08de6b Initial load
duke
parents:
diff changeset
   130
     * other reasons adopt a "no DTDs" policy.
7f561c08de6b Initial load
duke
parents:
diff changeset
   131
     * Non-validation motives include forcing documents to include DTDs so
7f561c08de6b Initial load
duke
parents:
diff changeset
   132
     * that attributes are handled consistently.
7f561c08de6b Initial load
duke
parents:
diff changeset
   133
     * For example, an XPath processor needs to know which attibutes have
7f561c08de6b Initial load
duke
parents:
diff changeset
   134
     * type "ID" before it can process a widely used type of reference.</p>
7f561c08de6b Initial load
duke
parents:
diff changeset
   135
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   136
     * <p><strong>Warning:</strong> Returning an external subset modifies
7f561c08de6b Initial load
duke
parents:
diff changeset
   137
     * the input document.  By providing definitions for general entities,
7f561c08de6b Initial load
duke
parents:
diff changeset
   138
     * it can make a malformed document appear to be well formed.
7f561c08de6b Initial load
duke
parents:
diff changeset
   139
     * </p>
7f561c08de6b Initial load
duke
parents:
diff changeset
   140
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   141
     * @param name Identifies the document root element.  This name comes
7f561c08de6b Initial load
duke
parents:
diff changeset
   142
     *  from a DOCTYPE declaration (where available) or from the actual
7f561c08de6b Initial load
duke
parents:
diff changeset
   143
     *  root element.
7f561c08de6b Initial load
duke
parents:
diff changeset
   144
     * @param baseURI The document's base URI, serving as an additional
7f561c08de6b Initial load
duke
parents:
diff changeset
   145
     *  hint for selecting the external subset.  This is always an absolute
7f561c08de6b Initial load
duke
parents:
diff changeset
   146
     *  URI, unless it is null because the XMLReader was given an InputSource
7f561c08de6b Initial load
duke
parents:
diff changeset
   147
     *  without one.
7f561c08de6b Initial load
duke
parents:
diff changeset
   148
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   149
     * @return An InputSource object describing the new external subset
7f561c08de6b Initial load
duke
parents:
diff changeset
   150
     *  to be used by the parser, or null to indicate that no external
7f561c08de6b Initial load
duke
parents:
diff changeset
   151
     *  subset is provided.
7f561c08de6b Initial load
duke
parents:
diff changeset
   152
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   153
     * @exception SAXException Any SAX exception, possibly wrapping
7f561c08de6b Initial load
duke
parents:
diff changeset
   154
     *  another exception.
7f561c08de6b Initial load
duke
parents:
diff changeset
   155
     * @exception IOException Probably indicating a failure to create
7f561c08de6b Initial load
duke
parents:
diff changeset
   156
     *  a new InputStream or Reader, or an illegal URL.
7f561c08de6b Initial load
duke
parents:
diff changeset
   157
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   158
    public InputSource getExternalSubset (String name, String baseURI)
7f561c08de6b Initial load
duke
parents:
diff changeset
   159
    throws SAXException, IOException;
7f561c08de6b Initial load
duke
parents:
diff changeset
   160
7f561c08de6b Initial load
duke
parents:
diff changeset
   161
    /**
7f561c08de6b Initial load
duke
parents:
diff changeset
   162
     * Allows applications to map references to external entities into input
7f561c08de6b Initial load
duke
parents:
diff changeset
   163
     * sources, or tell the parser it should use conventional URI resolution.
7f561c08de6b Initial load
duke
parents:
diff changeset
   164
     * This method is only called for external entities which have been
7f561c08de6b Initial load
duke
parents:
diff changeset
   165
     * properly declared.
7f561c08de6b Initial load
duke
parents:
diff changeset
   166
     * This method provides more flexibility than the {@link EntityResolver}
7f561c08de6b Initial load
duke
parents:
diff changeset
   167
     * interface, supporting implementations of more complex catalogue
7f561c08de6b Initial load
duke
parents:
diff changeset
   168
     * schemes such as the one defined by the <a href=
7f561c08de6b Initial load
duke
parents:
diff changeset
   169
        "http://www.oasis-open.org/committees/entity/spec-2001-08-06.html"
7f561c08de6b Initial load
duke
parents:
diff changeset
   170
        >OASIS XML Catalogs</a> specification.</p>
7f561c08de6b Initial load
duke
parents:
diff changeset
   171
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   172
     * <p>Parsers configured to use this resolver method will call it
7f561c08de6b Initial load
duke
parents:
diff changeset
   173
     * to determine the input source to use for any external entity
7f561c08de6b Initial load
duke
parents:
diff changeset
   174
     * being included because of a reference in the XML text.
7f561c08de6b Initial load
duke
parents:
diff changeset
   175
     * That excludes the document entity, and any external entity returned
7f561c08de6b Initial load
duke
parents:
diff changeset
   176
     * by {@link #getExternalSubset getExternalSubset()}.
7f561c08de6b Initial load
duke
parents:
diff changeset
   177
     * When a (non-validating) processor is configured not to include
7f561c08de6b Initial load
duke
parents:
diff changeset
   178
     * a class of entities (parameter or general) through use of feature
7f561c08de6b Initial load
duke
parents:
diff changeset
   179
     * flags, this method is not invoked for such entities.  </p>
7f561c08de6b Initial load
duke
parents:
diff changeset
   180
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   181
     * <p>Note that the entity naming scheme used here is the same one
7f561c08de6b Initial load
duke
parents:
diff changeset
   182
     * used in the {@link LexicalHandler}, or in the {@link
7f561c08de6b Initial load
duke
parents:
diff changeset
   183
        org.xml.sax.ContentHandler#skippedEntity
7f561c08de6b Initial load
duke
parents:
diff changeset
   184
        ContentHandler.skippedEntity()}
7f561c08de6b Initial load
duke
parents:
diff changeset
   185
     * method. </p>
7f561c08de6b Initial load
duke
parents:
diff changeset
   186
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   187
     * @param name Identifies the external entity being resolved.
7f561c08de6b Initial load
duke
parents:
diff changeset
   188
     *  Either "[dtd]" for the external subset, or a name starting
7f561c08de6b Initial load
duke
parents:
diff changeset
   189
     *  with "%" to indicate a parameter entity, or else the name of
7f561c08de6b Initial load
duke
parents:
diff changeset
   190
     *  a general entity.  This is never null when invoked by a SAX2
7f561c08de6b Initial load
duke
parents:
diff changeset
   191
     *  parser.
7f561c08de6b Initial load
duke
parents:
diff changeset
   192
     * @param publicId The public identifier of the external entity being
7f561c08de6b Initial load
duke
parents:
diff changeset
   193
     *  referenced (normalized as required by the XML specification), or
7f561c08de6b Initial load
duke
parents:
diff changeset
   194
     *  null if none was supplied.
7f561c08de6b Initial load
duke
parents:
diff changeset
   195
     * @param baseURI The URI with respect to which relative systemIDs
7f561c08de6b Initial load
duke
parents:
diff changeset
   196
     *  are interpreted.  This is always an absolute URI, unless it is
7f561c08de6b Initial load
duke
parents:
diff changeset
   197
     *  null (likely because the XMLReader was given an InputSource without
7f561c08de6b Initial load
duke
parents:
diff changeset
   198
     *  one).  This URI is defined by the XML specification to be the one
7f561c08de6b Initial load
duke
parents:
diff changeset
   199
     *  associated with the "&lt;" starting the relevant declaration.
7f561c08de6b Initial load
duke
parents:
diff changeset
   200
     * @param systemId The system identifier of the external entity
7f561c08de6b Initial load
duke
parents:
diff changeset
   201
     *  being referenced; either a relative or absolute URI.
7f561c08de6b Initial load
duke
parents:
diff changeset
   202
     *  This is never null when invoked by a SAX2 parser; only declared
7f561c08de6b Initial load
duke
parents:
diff changeset
   203
     *  entities, and any external subset, are resolved by such parsers.
7f561c08de6b Initial load
duke
parents:
diff changeset
   204
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   205
     * @return An InputSource object describing the new input source to
7f561c08de6b Initial load
duke
parents:
diff changeset
   206
     *  be used by the parser.  Returning null directs the parser to
7f561c08de6b Initial load
duke
parents:
diff changeset
   207
     *  resolve the system ID against the base URI and open a connection
7f561c08de6b Initial load
duke
parents:
diff changeset
   208
     *  to resulting URI.
7f561c08de6b Initial load
duke
parents:
diff changeset
   209
     *
7f561c08de6b Initial load
duke
parents:
diff changeset
   210
     * @exception SAXException Any SAX exception, possibly wrapping
7f561c08de6b Initial load
duke
parents:
diff changeset
   211
     *  another exception.
7f561c08de6b Initial load
duke
parents:
diff changeset
   212
     * @exception IOException Probably indicating a failure to create
7f561c08de6b Initial load
duke
parents:
diff changeset
   213
     *  a new InputStream or Reader, or an illegal URL.
7f561c08de6b Initial load
duke
parents:
diff changeset
   214
     */
7f561c08de6b Initial load
duke
parents:
diff changeset
   215
    public InputSource resolveEntity (
7f561c08de6b Initial load
duke
parents:
diff changeset
   216
            String name,
7f561c08de6b Initial load
duke
parents:
diff changeset
   217
            String publicId,
7f561c08de6b Initial load
duke
parents:
diff changeset
   218
            String baseURI,
7f561c08de6b Initial load
duke
parents:
diff changeset
   219
            String systemId
7f561c08de6b Initial load
duke
parents:
diff changeset
   220
    ) throws SAXException, IOException;
7f561c08de6b Initial load
duke
parents:
diff changeset
   221
}