|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.util.DTDEntityResolver
public class DTDEntityResolver
An entity resolver for both DOM and SAX models of the SAX document.
The entity resolver only handles queries for the DTD. It will find any URI
with a recognised public id and return an InputSource
.
This work was authored by Joe Schmetzer ([email protected]).
Field Summary | |
---|---|
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 Summary | |
---|---|
DTDEntityResolver()
|
Method Summary | |
---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolve the combination of system and public identifiers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public DTDEntityResolver()
Method Detail |
---|
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws java.io.IOException
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- the public identifier to usesystemId
- the system identifier to resolve
java.io.IOException
- an error reading the stream
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |