public class DTDEntityResolver extends Object implements EntityResolver
InputSource
.
This work was authored by Joe Schmetzer (joe@exubero.com).
Modifier and Type | Field and Description |
---|---|
static String |
AFP_DTD_1_0_ID
Public ID for the AFP fonts 1.0 DTD.
|
static String |
AFP_DTD_1_0_RESOURCE
Resource location for the AFP fonts 1.0 DTD.
|
static String |
AFP_DTD_1_1_ID
Public ID for the AFP fonts 1.1 DTD.
|
static String |
AFP_DTD_1_1_RESOURCE
Resource location for the AFP fonts 1.1 DTD.
|
static String |
AFP_DTD_1_2_ID
Public ID for the AFP fonts 1.2 DTD.
|
static 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 |
---|---|
InputSource |
resolveEntity(String publicId,
String systemId)
Resolve the combination of system and public identifiers.
|
public static final String AFP_DTD_1_0_ID
public static final String AFP_DTD_1_0_RESOURCE
public static final String AFP_DTD_1_1_ID
public static final String AFP_DTD_1_1_RESOURCE
public static final String AFP_DTD_1_2_ID
public static final String AFP_DTD_1_2_RESOURCE
public InputSource resolveEntity(String publicId, String systemId) throws IOException
resolveEntity
in interface EntityResolver
publicId
- the public identifier to usesystemId
- the system identifier to resolveIOException
- an error reading the streamCopyright © 2025 Apache Software Foundation. All rights reserved.