|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.afp.tools.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
.
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. |
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
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |