org.objectweb.jorm.mapper.mem.xml2mi
Class MemParser

java.lang.Object
  extended byorg.objectweb.jorm.xml2mi.lib.BasicMappingParser
      extended byorg.objectweb.jorm.mapper.mem.xml2mi.MemParser
All Implemented Interfaces:
Loggable, MappingParser

public class MemParser
extends BasicMappingParser

Author:
P. Dechamboux

Field Summary
 
Fields inherited from class org.objectweb.jorm.xml2mi.lib.BasicMappingParser
currentClass, idvalue2genclassref, logger, loggerFactory, metaInfoManager, pathExplorer
 
Constructor Summary
MemParser()
           
 
Method Summary
 void parseMapping(org.w3c.dom.Element mappingElem, Mapping mapping)
          Parses the mapping information related to a particular mapper and builds the corresponding Jorm meta-information.
 
Methods inherited from class org.objectweb.jorm.xml2mi.lib.BasicMappingParser
getClassRefNameDef, getFieldName, getGenClassNestingLevel, getGenClassRef, getGenClassRefNameDef, getIdNameDef, getLogger, getLoggerFactory, getPrimitiveElement, getRefNameDef, getRefNameDefFromExtension, setCurrentClass, setidvalue2genclassref, setLogger, setLoggerFactory, setMetaInfoManager, setmotable, setPathExplorer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemParser

public MemParser()
Method Detail

parseMapping

public void parseMapping(org.w3c.dom.Element mappingElem,
                         Mapping mapping)
                  throws PException
Parses the mapping information related to a particular mapper and builds the corresponding Jorm meta-information. It can be class-related or generic class-related information. Manager, PathExplorer and currentClass must be set before calling this method.

Specified by:
parseMapping in interface MappingParser
Specified by:
parseMapping in class BasicMappingParser
Parameters:
mappingElem - the current XML node.
mapping - a Mapping object.
Throws:
PException