leon.parser
Class LyEntityResolver
java.lang.Object
leon.parser.LySimpleEntityResolver
leon.parser.LyEntityResolver
- All Implemented Interfaces:
- org.xml.sax.EntityResolver
public class LyEntityResolver
- extends LySimpleEntityResolver
This class looks for entities in the classpath when the parser can't find them locally.
Field Summary |
static java.lang.String |
__VERSION
|
static java.lang.String |
INFO_DIRECTORY
The name of the info directory. |
Method Summary |
org.xml.sax.InputSource |
getInputSource(java.lang.String systemId)
Builds an inputsource from the specified entity and the current environment. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
INFO_DIRECTORY
public static java.lang.String INFO_DIRECTORY
- The name of the info directory.
LyEntityResolver
public LyEntityResolver(LyEnvironment environment,
java.lang.ClassLoader classLoader)
- Default constructor. Calls the super implementation with the environment parameter, then sets
the current class loader with the given value.
- Parameters:
environment
- the current environmentclassLoader
- the current class loader
getInputSource
public org.xml.sax.InputSource getInputSource(java.lang.String systemId)
- Builds an inputsource from the specified entity and the current environment.
- Overrides:
getInputSource
in class LySimpleEntityResolver
- Parameters:
systemId
- entity identifier
- Returns:
- an input source if it can be buildt, null otherwise
Website: W4 S.A., contact us: support@w4global.com