|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.repository.server.webapp.repositorydata.XMLTypeDetector
public class XMLTypeDetector
This is a "magic" class, which has to recognize type of object stored in XML file (Architecture, CodeBundle, etc). It is done by reading XML file and getEObjectTypeInFile returns the name of the root XML tag.
Method Summary | |
---|---|
static java.lang.String |
getEObjectTypeInFile(java.io.File file)
This is the main method, which has to recognize type of object stored in XML file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getEObjectTypeInFile(java.io.File file)
file
- XML file with stored EMF object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |