|
JBoss Common Classes 2.2.17.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.xml.catalog.helpers.BootstrapResolver
public class BootstrapResolver
A simple bootstrapping resolver.
This class is used as the entity resolver when reading XML Catalogs. It searches for the OASIS XML Catalog DTD, Relax NG Grammar and W3C XML Schema as resources (e.g., in the resolver jar file).
If you have your own DTDs or schemas, you can extend this class and set the BootstrapResolver in your CatalogManager.
CatalogManager
Field Summary | |
---|---|
static String |
xmlCatalogPubId
Public identifier for OASIS XML Catalog files. |
static String |
xmlCatalogRNG
URI of the RELAX NG Grammar for OASIS XML Catalog files. |
static String |
xmlCatalogSysId
System identifier for OASIS XML Catalog files. |
static String |
xmlCatalogXSD
URI of the W3C XML Schema for OASIS XML Catalog files. |
Constructor Summary | |
---|---|
BootstrapResolver()
Constructor. |
Method Summary | |
---|---|
Source |
resolve(String href,
String base)
Transformer resolve API. |
InputSource |
resolveEntity(String publicId,
String systemId)
SAX resolveEntity API. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String xmlCatalogXSD
public static final String xmlCatalogRNG
public static final String xmlCatalogPubId
public static final String xmlCatalogSysId
Constructor Detail |
---|
public BootstrapResolver()
Method Detail |
---|
public InputSource resolveEntity(String publicId, String systemId)
resolveEntity
in interface EntityResolver
public Source resolve(String href, String base) throws TransformerException
resolve
in interface URIResolver
TransformerException
|
JBoss Common Classes 2.2.17.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |