BACK

MobyGenerator Utility

The main purpose of this utility is to generate BioMoby datatype ontology java classes. Generated classes could be used by MobyCore library to parse BioMoby messages.

MobyGenerator relies on JavaCompiler API and in case of running with Java Runtime (for example as an Applet) javac.jar and antlr.jar must be present in a classpath.

Generated templates provide complete BioMoby message parsing in a way a service implementator do not need to work with BioMoby API, but should implement a usual java method. For example:

    public BLAST__Text runBlat(GenericSequence sequence, Map<String, MobyPrimitive> parameters) throws MobyExceptions, Exception
    {
        throw new UnsupportedOperationException("not implemented yet...");
    }