| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.beans.factory.xml.DelegatingEntityResolver
public class DelegatingEntityResolver
EntityResolver implementation that delegates to a BeansDtdResolver
 and a PluggableSchemaResolver for DTDs and XML schemas, respectively.
BeansDtdResolver, 
PluggableSchemaResolver| Field Summary | |
|---|---|
| static String | DTD_SUFFIXSuffix for DTD files | 
| static String | XSD_SUFFIXSuffix for schema definition files | 
| Constructor Summary | |
|---|---|
| DelegatingEntityResolver(ClassLoader classLoader)Create a new DelegatingEntityResolver that delegates to a default BeansDtdResolverand a defaultPluggableSchemaResolver. | |
| DelegatingEntityResolver(EntityResolver dtdResolver,
                         EntityResolver schemaResolver)Create a new DelegatingEntityResolver that delegates to the given EntityResolvers. | |
| Method Summary | |
|---|---|
|  InputSource | resolveEntity(String publicId,
              String systemId) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String DTD_SUFFIX
public static final String XSD_SUFFIX
| Constructor Detail | 
|---|
public DelegatingEntityResolver(ClassLoader classLoader)
BeansDtdResolver and a default PluggableSchemaResolver.
 Configures the PluggableSchemaResolver with the supplied
 ClassLoader.
classLoader - the ClassLoader to use for loading
 (can be null) to use the default ClassLoader)
public DelegatingEntityResolver(EntityResolver dtdResolver,
                                EntityResolver schemaResolver)
EntityResolvers.
dtdResolver - the EntityResolver to resolve DTDs withschemaResolver - the EntityResolver to resolve XML schemas with| Method Detail | 
|---|
public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException,
                                 IOException
resolveEntity in interface EntityResolverSAXException
IOException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||