| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.apache.xml.resolver.helpers.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 java.lang.String | xCatalogPubIdPublic identifier for legacy Apache XCatalog files. | 
| static java.lang.String | xmlCatalogPubIdPublic identifier for OASIS XML Catalog files. | 
| static java.lang.String | xmlCatalogRNGURI of the RELAX NG Grammar for OASIS XML Catalog files. | 
| static java.lang.String | xmlCatalogSysIdSystem identifier for OASIS XML Catalog files. | 
| static java.lang.String | xmlCatalogXSDURI of the W3C XML Schema for OASIS XML Catalog files. | 
| Constructor Summary | |
|---|---|
| BootstrapResolver()Constructor. | |
| Method Summary | |
|---|---|
|  javax.xml.transform.Source | resolve(java.lang.String href,
        java.lang.String base)Transformer resolve API. | 
|  org.xml.sax.InputSource | resolveEntity(java.lang.String publicId,
              java.lang.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 java.lang.String xmlCatalogXSD
public static final java.lang.String xmlCatalogRNG
public static final java.lang.String xmlCatalogPubId
public static final java.lang.String xmlCatalogSysId
public static final java.lang.String xCatalogPubId
| Constructor Detail | 
public BootstrapResolver()
| Method Detail | 
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
resolveEntity in interface org.xml.sax.EntityResolver
public javax.xml.transform.Source resolve(java.lang.String href,
                                          java.lang.String base)
                                   throws javax.xml.transform.TransformerException
resolve in interface javax.xml.transform.URIResolver| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||