public class MolgenisModelParser extends Object
| Constructor and Description |
|---|
MolgenisModelParser() |
| Modifier and Type | Method and Description |
|---|---|
static Model |
parseDbSchema(ArrayList<String> filenames) |
static Model |
parseDbSchema(ArrayList<String> filenames,
String modelName) |
static Model |
parseDbSchema(String xml)
Simple parse an xml string
|
static Entity |
parseEntity(Model model,
Element element) |
static void |
parseField(Entity entity,
Element element) |
static void |
parseMatrix(Model model,
Element element) |
static void |
parseMethod(Model model,
Element element) |
static void |
parseModule(Model model,
Element element) |
static void |
parseParameter(Method method,
Element element) |
static void |
parseQuery(Model model,
Method method,
Element element) |
static void |
parseQueryRule(Model model,
MethodQuery query,
Element element) |
static void |
parseReturnType(Model model,
Method method,
Element element) |
static void |
parseView(Model model,
Element element) |
public static Entity parseEntity(Model model, Element element) throws MolgenisModelException
model - element - a DOM element that looks like MolgenisModelExceptionpublic static void parseMatrix(Model model, Element element) throws MolgenisModelException
MolgenisModelExceptionpublic static void parseField(Entity entity, Element element) throws MolgenisModelException
MolgenisModelExceptionpublic static void parseView(Model model, Element element) throws MolgenisModelException
MolgenisModelExceptionpublic static void parseMethod(Model model, Element element) throws MolgenisModelException
MolgenisModelExceptionpublic static void parseParameter(Method method, Element element) throws MolgenisModelException
MolgenisModelExceptionpublic static void parseReturnType(Model model, Method method, Element element) throws MolgenisModelException
MolgenisModelExceptionpublic static void parseQuery(Model model, Method method, Element element) throws MolgenisModelException
MolgenisModelExceptionpublic static void parseQueryRule(Model model, MethodQuery query, Element element) throws MolgenisModelException
MolgenisModelExceptionpublic static Model parseDbSchema(String xml) throws MolgenisModelException
MolgenisModelExceptionpublic static Model parseDbSchema(ArrayList<String> filenames) throws MolgenisModelException
MolgenisModelExceptionpublic static Model parseDbSchema(ArrayList<String> filenames, String modelName) throws MolgenisModelException
MolgenisModelExceptionpublic static void parseModule(Model model, Element element) throws MolgenisModelException
MolgenisModelExceptionCopyright © 2015. All Rights Reserved.