|
Spring Framework | ||||||||
| 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 java.lang.String |
DTD_SUFFIX
Suffix for DTD files |
static java.lang.String |
XSD_SUFFIX
Suffix for schema definition files |
| Constructor Summary | |
|---|---|
DelegatingEntityResolver(java.lang.ClassLoader classLoader)
Create a new DelegatingEntityResolver that delegates to a default BeansDtdResolver and a default PluggableSchemaResolver. |
|
DelegatingEntityResolver(org.xml.sax.EntityResolver dtdResolver,
org.xml.sax.EntityResolver schemaResolver)
Create a new DelegatingEntityResolver that delegates to the given EntityResolvers. |
|
| Method Summary | |
|---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DTD_SUFFIX
public static final java.lang.String XSD_SUFFIX
| Constructor Detail |
|---|
public DelegatingEntityResolver(java.lang.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(org.xml.sax.EntityResolver dtdResolver,
org.xml.sax.EntityResolver schemaResolver)
EntityResolvers.
dtdResolver - the EntityResolver to resolve DTDs withschemaResolver - the EntityResolver to resolve XML schemas with| Method Detail |
|---|
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
resolveEntity in interface org.xml.sax.EntityResolverorg.xml.sax.SAXException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||