|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.config.ConfigurationEntityResolver
public class ConfigurationEntityResolver
Entity resolver for Jackrabbit configuration files. This simple resolver contains mappings for the following public identifiers used for the Jackrabbit configuration files:
-//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.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.
Field Summary | |
---|---|
static EntityResolver |
INSTANCE
The singleton instance of this class. |
Method Summary | |
---|---|
InputSource |
resolveEntity(String publicId,
String systemId)
Resolves an entity to the corresponding input source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final EntityResolver INSTANCE
Method Detail |
---|
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
in interface EntityResolver
publicId
- public identifiersystemId
- system identifier
SAXException
- on SAX errors
IOException
- on IO errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |