|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jpos.iso.packager.GenericPackager.GenericEntityResolver
public static class GenericPackager.GenericEntityResolver
| Constructor Summary | |
|---|---|
GenericPackager.GenericEntityResolver()
|
|
| Method Summary | |
|---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Allow the application to resolve external entities. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericPackager.GenericEntityResolver()
| Method Detail |
|---|
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
We first check whether the DTD points to a well defined URI, and resolve to our internal DTDs.
If the systemId points to a file, then we attempt to read the DTD from the filesystem, in case they've been modified by the user. Otherwise, we fallback to the built-in DTDs inside jPOS.
resolveEntity in interface org.xml.sax.EntityResolverpublicId - The public identifier of the external entity
being referenced, or null if none was supplied.systemId - The system identifier of the external entity
being referenced.
org.xml.sax.SAXException - Any SAX exception, possibly
wrapping another exception.
java.io.IOException - A Java-specific IO exception,
possibly the result of creating a new InputStream
or Reader for the InputSource.InputSource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||