public class DTDEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
InputSource.
This work was authored by Joe Schmetzer (joe@exubero.com).
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AFP_DTD_1_0_ID
Public ID for the AFP fonts 1.0 DTD.
|
static java.lang.String |
AFP_DTD_1_0_RESOURCE
Resource location for the AFP fonts 1.0 DTD.
|
static java.lang.String |
AFP_DTD_1_1_ID
Public ID for the AFP fonts 1.1 DTD.
|
static java.lang.String |
AFP_DTD_1_1_RESOURCE
Resource location for the AFP fonts 1.1 DTD.
|
static java.lang.String |
AFP_DTD_1_2_ID
Public ID for the AFP fonts 1.2 DTD.
|
static java.lang.String |
AFP_DTD_1_2_RESOURCE
Resource location for the AFP fonts 1.2 DTD.
|
| Constructor and Description |
|---|
DTDEntityResolver() |
| Modifier and Type | Method and Description |
|---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolve the combination of system and public identifiers.
|
public static final java.lang.String AFP_DTD_1_0_ID
public static final java.lang.String AFP_DTD_1_0_RESOURCE
public static final java.lang.String AFP_DTD_1_1_ID
public static final java.lang.String AFP_DTD_1_1_RESOURCE
public static final java.lang.String AFP_DTD_1_2_ID
public static final java.lang.String AFP_DTD_1_2_RESOURCE
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws java.io.IOException
resolveEntity in interface org.xml.sax.EntityResolverpublicId - the public identifier to usesystemId - the system identifier to resolvejava.io.IOException - an error reading the streamCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.