|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jsxe.CatalogManager
The CatalogManager implements cataloging external entities to a local cache so that it can be later retrieved without having to retrieve it from the external source on every parse.
| Method Summary | |
static void |
clearCache()
Clears the resource cache. |
static boolean |
isLocal(net.sourceforge.jsxe.CatalogManager.Entry e)
Tests whether an entry in the resource cache has a file cached locally on disk. |
static void |
propertiesChanged()
Notifies the CatalogManager that the application properties have changed and that cache properties need to be reloaded. |
static InputSource |
resolve(String current,
String publicId,
String systemId)
Attempts to resolve an external entity. |
static void |
save()
Saves the resource cache to jsXe's properties. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static InputSource resolve(String current,
String publicId,
String systemId)
throws Exception
current - the uri of the file where the external entity reference
is located.publicId - the public ID of the external entity reference.systemId - the system ID of the external entity reference.
Exceptionpublic static boolean isLocal(net.sourceforge.jsxe.CatalogManager.Entry e)
e - the entrypublic static void propertiesChanged()
public static void save()
public static void clearCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||