|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.build.xml.CatalogWrapper
public final class CatalogWrapper
Wraps the CatalogResolver object.
Searches for presence of one of the xml resolver packages
org.apache.xml.resolver.tools.CatalogResolver
or
code com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver
.
Method Summary | |
---|---|
static boolean |
available()
Checks if a CatalogResolver is available. |
static void |
set(org.xml.sax.XMLReader reader,
java.lang.String cat)
Decorates the XMLReader with the catalog resolver if it is found
in the classpath. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean available()
public static void set(org.xml.sax.XMLReader reader, java.lang.String cat)
XMLReader
with the catalog resolver if it is found
in the classpath. Does nothing otherwise.
reader
- XML readercat
- path to catalog file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |