org.objectweb.jorm.xml2mi.lib
Class DTDResolver

org.objectweb.jorm.xml2mi.lib.DTDResolver
All Implemented Interfaces:
Loggable

public class DTDResolver
implements Loggable

Author:
S.Chassande-Barrioz

Constructor Summary
DTDResolver(java.util.ArrayList dtdLocations)
           
DTDResolver(java.util.ArrayList dtdLocations, org.objectweb.util.monolog.api.Logger logger)
           
 
Method Summary
 org.objectweb.util.monolog.api.Logger getLogger()
          Returns a logger to an component that wants to log things.
 org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
          Returns a logger factory that allows the creation of new loggers.
 org.apache.xerces.xni.parser.XMLInputSource resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier identifier)
           
 void setLogger(org.objectweb.util.monolog.api.Logger logger)
          Assigns a logger to an component that wants to log things.
 void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory loggerfactory)
          Assigns a logger factory that allows the creation of new loggers.
 

Constructor Detail

DTDResolver

public DTDResolver(java.util.ArrayList dtdLocations)

DTDResolver

public DTDResolver(java.util.ArrayList dtdLocations,
                   org.objectweb.util.monolog.api.Logger logger)
Method Detail

resolveEntity

public org.apache.xerces.xni.parser.XMLInputSource resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier identifier)
                                                          throws org.apache.xerces.xni.XNIException,
                                                                 java.io.IOException

getLogger

public org.objectweb.util.monolog.api.Logger getLogger()
Description copied from interface: Loggable
Returns a logger to an component that wants to log things.
Specified by:
getLogger in interface Loggable
Following copied from interface: org.objectweb.jorm.util.api.Loggable
Parameters:
logger - the logger object

getLoggerFactory

public org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
Description copied from interface: Loggable
Returns a logger factory that allows the creation of new loggers.
Specified by:
getLoggerFactory in interface Loggable
Following copied from interface: org.objectweb.jorm.util.api.Loggable
Parameters:
loggerfactory - the LoggerFactory object to obtain new loggers

setLogger

public void setLogger(org.objectweb.util.monolog.api.Logger logger)
Description copied from interface: Loggable
Assigns a logger to an component that wants to log things.
Specified by:
setLogger in interface Loggable
Following copied from interface: org.objectweb.jorm.util.api.Loggable
Parameters:
logger - the logger object

setLoggerFactory

public void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory loggerfactory)
Description copied from interface: Loggable
Assigns a logger factory that allows the creation of new loggers.
Specified by:
setLoggerFactory in interface Loggable
Following copied from interface: org.objectweb.jorm.util.api.Loggable
Parameters:
loggerfactory - the LoggerFactory object to obtain new loggers