public class ConfigurationEntityResolver extends Object implements EntityResolver
-//The Apache Software Foundation//DTD Jackrabbit 2.6//EN-//The Apache Software Foundation//DTD Jackrabbit 2.4//EN-//The Apache Software Foundation//DTD Jackrabbit 2.0//EN-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN-//The Apache Software Foundation//DTD Jackrabbit 1.5//EN-//The Apache Software Foundation//DTD Jackrabbit 1.4//EN-//The Apache Software Foundation//DTD Jackrabbit 1.2//EN-//The Apache Software Foundation//DTD Jackrabbit 1.0//ENAlso the following system identifiers are mapped to local resources:
http://jackrabbit.apache.org/dtd/repository-2.6.dtdhttp://jackrabbit.apache.org/dtd/repository-2.4.dtdhttp://jackrabbit.apache.org/dtd/repository-2.0.dtdhttp://jackrabbit.apache.org/dtd/repository-1.6.dtdhttp://jackrabbit.apache.org/dtd/repository-1.5.dtdhttp://jackrabbit.apache.org/dtd/repository-1.4.dtdhttp://jackrabbit.apache.org/dtd/repository-1.2.dtdhttp://jackrabbit.apache.org/dtd/repository-1.0.dtdThe public identifiers are mapped to document type definition files included in the Jackrabbit jar archive.
| Modifier and Type | Field and Description |
|---|---|
static EntityResolver |
INSTANCE
The singleton instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
InputSource |
resolveEntity(String publicId,
String systemId)
Resolves an entity to the corresponding input source.
|
public static final EntityResolver INSTANCE
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolverpublicId - public identifiersystemId - system identifierSAXException - on SAX errorsIOException - on IO errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.