|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The MappingParser interface provides methods to parse specific mapping information from an XML Element object and build the corresponding Jorm metainformation.
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. |
void |
setCurrentClass(Class aClass)
Assigns the current Class object to a parser in order from it to retrieve the meta-objects (for example, PrimitiveElement objects) that are referenced from XML mapping elements. |
void |
setidvalue2genclassref(java.util.Map idvalue2genclassref)
|
void |
setMetaInfoManager(Manager manager)
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 |
setmotable(java.util.Hashtable motable)
Assigns an HashTable object to the MappingParser object. |
void |
setPathExplorer(org.objectweb.jorm.util.io.api.PathExplorer explorer)
Assigns a PathExplorer object for locating files that have to be parsed. |
Method Detail |
public void setMetaInfoManager(Manager manager)
manager
- the meta-information Manager to be associated to this
parserpublic void setPathExplorer(org.objectweb.jorm.util.io.api.PathExplorer explorer)
explorer
- The PathExplorer to be used for file locationpublic void setCurrentClass(Class aClass)
aClass
- the Jorm meta-object associated to the parsed class.public void parseMapping(org.w3c.dom.Element mappingElem, Mapping mapping) throws PException
mappingElem
- the current XML node.mapping
- a Mapping object.
PException
public void setidvalue2genclassref(java.util.Map idvalue2genclassref)
idvalue2genclassref
- an HashTable that associates an id value with a GenClassRef object.public void setmotable(java.util.Hashtable motable)
motable
- an HashTable that associates a pd file to its corresponding MetaObject.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |