Class ConfigurationEntityResolver
java.lang.Object
org.apache.torque.generator.configuration.ConfigurationEntityResolver
- All Implemented Interfaces:
EntityResolver
A resolver to get the confoguration.xsd file for the XML parser from the jar.
- Version:
- $Id: ConfigurationEntityResolver.java 1839288 2018-08-27 09:48:33Z tv $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveEntity(String publicId, String systemId) An implementation of the SAXEntityResolverinterface to be called by the XML parser.
-
Field Details
-
CONFIGURATION_SCHEMA_SYSTEMID
The SystemId of the configuration schema.- See Also:
-
OUTLET_SCHEMA_SYSTEMID
The SystemId of the configuration schema.- See Also:
-
-
Constructor Details
-
ConfigurationEntityResolver
public ConfigurationEntityResolver()
-
-
Method Details
-
resolveEntity
An implementation of the SAXEntityResolverinterface to be called by the XML parser. If the URI is known, the corresponding resource from the jar is returned. In all other cases, null is returned to indicate that the parser should open a regular connection to the systemId URI.- Specified by:
resolveEntityin interfaceEntityResolver- Parameters:
publicId- The public identifier of the external entitysystemId- The system identifier of the external entity- Returns:
- An
InputSourcefor the entity if the uri is known, or null otherwise. - Throws:
IOExceptionSAXException
-