|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.objectweb.jorm.xml2mi.lib.fos.FosParser
| Field Summary | |
protected org.objectweb.util.monolog.api.Logger |
logger
|
protected org.objectweb.util.monolog.api.LoggerFactory |
loggerFactory
|
protected java.lang.String |
mapperName
|
protected java.lang.String |
mappingName
|
protected Manager |
metaInfoManager
|
protected org.objectweb.util.io.api.PathExplorer |
pathExplorer
|
| Constructor Summary | |
FosParser()
|
|
| 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. |
void |
parseMapping(org.w3c.dom.Element node,
Class class_)
Parses the mapping part of the XML file and builds the corresponding meta-information for a given Class object. |
void |
parseMapping(org.w3c.dom.Element node,
GenClassRef genClassRef)
Parses the mapping part of the XML file and builds the corresponding meta-information for a given GenClassRef object. |
void |
parseMapping(org.w3c.dom.Element node,
PrimitiveElement primitiveElement)
Parses the mapping part of the XML file and builds the corresponding meta-information for a given PrimitiveElement object. |
void |
setLogger(org.objectweb.util.monolog.api.Logger l)
Assigns a logger to an component that wants to log things. |
void |
setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory lf)
Assigns a logger factory that allows the creation of new loggers. |
void |
setMapperName(java.lang.String mn)
Sets the name of the mapper to use. |
void |
setMappingName(java.lang.String mn)
Sets the name of the mapping to use. |
void |
setMetaInfoManager(Manager mim)
Assigns a meta-information manager to a parser in order from it to create the meta-information related to the XML files it parses. |
void |
setPathExplorer(org.objectweb.util.io.api.PathExplorer pe)
Assigns a PathExplorer object for locating files that have to be parsed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.objectweb.util.monolog.api.Logger logger
protected org.objectweb.util.monolog.api.LoggerFactory loggerFactory
protected org.objectweb.util.io.api.PathExplorer pathExplorer
protected java.lang.String mapperName
protected java.lang.String mappingName
protected Manager metaInfoManager
| Constructor Detail |
public FosParser()
| Method Detail |
public void parseMapping(org.w3c.dom.Element node,
Class class_)
parseMapping in interface MappingParsernode - the node to treatclass_ - the class to complete
public void parseMapping(org.w3c.dom.Element node,
PrimitiveElement primitiveElement)
parseMapping in interface MappingParsernode - the node to treatprimitiveElement - the primitive element to complete
public void parseMapping(org.w3c.dom.Element node,
GenClassRef genClassRef)
parseMapping in interface MappingParsernode - the node to treatgenClassRef - the generic class reference to completepublic void setMetaInfoManager(Manager mim)
setMetaInfoManager in interface MappingParsermim - the meta-information Manager to be associated to this
parserpublic void setPathExplorer(org.objectweb.util.io.api.PathExplorer pe)
setPathExplorer in interface MappingParserpathexpl - The PathExplorer to be used for file locationpublic void setMapperName(java.lang.String mn)
setMapperName in interface MappingParsermapperName - the name of the mapperpublic void setMappingName(java.lang.String mn)
setMappingName in interface MappingParsermappingName - the name of the mappingpublic org.objectweb.util.monolog.api.Logger getLogger()
LoggablegetLogger in interface Loggableorg.objectweb.jorm.util.api.Loggablelogger - the logger objectpublic org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
LoggablegetLoggerFactory in interface Loggableorg.objectweb.jorm.util.api.Loggableloggerfactory - the LoggerFactory object to obtain new loggerspublic void setLogger(org.objectweb.util.monolog.api.Logger l)
LoggablesetLogger in interface Loggableorg.objectweb.jorm.util.api.Loggablelogger - the logger objectpublic void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory lf)
LoggablesetLoggerFactory in interface Loggableorg.objectweb.jorm.util.api.Loggableloggerfactory - the LoggerFactory object to obtain new loggers
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||