LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.parser
Class LyEntityResolver

java.lang.Object
  extended by leon.parser.LySimpleEntityResolver
      extended by 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.
 
Constructor Summary
LyEntityResolver(LyEnvironment environment, java.lang.ClassLoader classLoader)
          Default constructor.
 
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 leon.parser.LySimpleEntityResolver
resolveEntity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__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.

Constructor Detail

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 environment
classLoader - the current class loader
Method Detail

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

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com