org.objectweb.jorm.verifier.lib
Class JormVerifier

java.lang.Object
  extended byorg.objectweb.jorm.verifier.lib.JormVerifier
All Implemented Interfaces:
Loggable, Verifier

public class JormVerifier
extends java.lang.Object
implements Verifier, Loggable


Constructor Summary
JormVerifier()
          builds a new JormVerifier object.
 
Method Summary
 void addMappingVerifier(java.lang.String mappername, MappingVerifier mappingVerifier)
          Sets the mapping verifier which verifies the mapping part of the meta information.
 Logger getLogger()
          Returns a logger to an component that wants to log things.
 LoggerFactory getLoggerFactory()
          Returns a logger factory that allows the creation of new loggers.
 void setLogger(Logger logger)
          Assigns a logger to an component that wants to log things.
 void setLoggerFactory(LoggerFactory loggerfactory)
          Assigns a logger factory that allows the creation of new loggers.
 void setMetaInfoManager(Manager mim)
          Assigns the meta information manager created by the parser module to the current BlobVerifier object.
 void setProjectName(java.lang.String name)
          Assigns a project name to the verifier.
 void verify(java.util.Collection mos)
          Verifies the meta information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JormVerifier

public JormVerifier()
builds a new JormVerifier object.

Method Detail

setMetaInfoManager

public void setMetaInfoManager(Manager mim)
Assigns the meta information manager created by the parser module to the current BlobVerifier object.

Specified by:
setMetaInfoManager in interface Verifier
Parameters:
mim - the meta information manager to use

setProjectName

public void setProjectName(java.lang.String name)
Assigns a project name to the verifier.

Specified by:
setProjectName in interface Verifier
Parameters:
name - The associated name.

addMappingVerifier

public void addMappingVerifier(java.lang.String mappername,
                               MappingVerifier mappingVerifier)
Sets the mapping verifier which verifies the mapping part of the meta information.

Specified by:
addMappingVerifier in interface Verifier
Parameters:
mappername - the name of the mapper
mappingVerifier - the Mapping BlobVerifier object

verify

public void verify(java.util.Collection mos)
Verifies the meta information.

Specified by:
verify in interface Verifier

setLogger

public void setLogger(Logger logger)
Description copied from interface: Loggable
Assigns a logger to an component that wants to log things.

Specified by:
setLogger in interface Loggable
Parameters:
logger - the logger object

setLoggerFactory

public void setLoggerFactory(LoggerFactory loggerfactory)
Description copied from interface: Loggable
Assigns a logger factory that allows the creation of new loggers.

Specified by:
setLoggerFactory in interface Loggable
Parameters:
loggerfactory - the LoggerFactory object to obtain new loggers

getLogger

public Logger getLogger()
Description copied from interface: Loggable
Returns a logger to an component that wants to log things.

Specified by:
getLogger in interface Loggable

getLoggerFactory

public LoggerFactory getLoggerFactory()
Description copied from interface: Loggable
Returns a logger factory that allows the creation of new loggers.

Specified by:
getLoggerFactory in interface Loggable