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//EN
Also the following system identifiers are mapped to local resources:
http://jackrabbit.apache.org/dtd/repository-2.6.dtd
http://jackrabbit.apache.org/dtd/repository-2.4.dtd
http://jackrabbit.apache.org/dtd/repository-2.0.dtd
http://jackrabbit.apache.org/dtd/repository-1.6.dtd
http://jackrabbit.apache.org/dtd/repository-1.5.dtd
http://jackrabbit.apache.org/dtd/repository-1.4.dtd
http://jackrabbit.apache.org/dtd/repository-1.2.dtd
http://jackrabbit.apache.org/dtd/repository-1.0.dtd
The 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 EntityResolver
publicId
- public identifiersystemId
- system identifierSAXException
- on SAX errorsIOException
- on IO errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.