|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The MappingParser interface has methods to parse specific mapping information from an Element object. The methods use a basic MetaObject, and fill-in it with corresponding mapping information.
| Method Summary | |
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 |
setMapperName(java.lang.String mapperName)
Sets the name of the mapper to use. |
void |
setMappingName(java.lang.String mappingName)
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 pathexpl)
Assigns a PathExplorer object for locating files that have to be parsed. |
| Method Detail |
public void parseMapping(org.w3c.dom.Element node,
Class class_)
node - the node to treatclass_ - the class to complete
public void parseMapping(org.w3c.dom.Element node,
PrimitiveElement primitiveElement)
node - the node to treatprimitiveElement - the primitive element to complete
public void parseMapping(org.w3c.dom.Element node,
GenClassRef genClassRef)
node - the node to treatgenClassRef - the generic class reference to completepublic void setMetaInfoManager(Manager mim)
mim - the meta-information Manager to be associated to this
parserpublic void setPathExplorer(org.objectweb.util.io.api.PathExplorer pathexpl)
pathexpl - The PathExplorer to be used for file locationpublic void setMapperName(java.lang.String mapperName)
mapperName - the name of the mapperpublic void setMappingName(java.lang.String mappingName)
mappingName - the name of the mapping
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||