Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scufl.parser
Class XScuflParser  view XScuflParser download XScuflParser.java

java.lang.Object
  extended byorg.embl.ebi.escience.scufl.parser.XScuflParser

public class XScuflParser
extends java.lang.Object

Reads a definition in XScufl format and populates the supplied model with it.


Constructor Summary
XScuflParser()
           
 
Method Summary
static void populate(org.jdom.Document document, org.embl.ebi.escience.scufl.ScuflModel model, java.lang.String prefix)
          Read from the given JDOM Document and populate the given ScuflModel with data from the definition.
static void populate(java.io.InputStream is, org.embl.ebi.escience.scufl.ScuflModel model, java.lang.String prefix)
          Read from the given InputStream and populate the given ScuflModel with data from the definition.
static void populate(java.lang.String input, org.embl.ebi.escience.scufl.ScuflModel model, java.lang.String prefix)
          Read from the given String containing an XScufl document and populate the given ScuflModel with data from the definition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XScuflParser

public XScuflParser()
Method Detail

populate

public static void populate(java.lang.String input,
                            org.embl.ebi.escience.scufl.ScuflModel model,
                            java.lang.String prefix)
                     throws org.embl.ebi.escience.scufl.UnknownProcessorException,
                            org.embl.ebi.escience.scufl.UnknownPortException,
                            org.embl.ebi.escience.scufl.ProcessorCreationException,
                            org.embl.ebi.escience.scufl.DataConstraintCreationException,
                            org.embl.ebi.escience.scufl.DuplicateProcessorNameException,
                            org.embl.ebi.escience.scufl.MalformedNameException,
                            org.embl.ebi.escience.scufl.ConcurrencyConstraintCreationException,
                            org.embl.ebi.escience.scufl.DuplicateConcurrencyConstraintNameException,
                            XScuflFormatException
Read from the given String containing an XScufl document and populate the given ScuflModel with data from the definition. You can optionally specify a name prefix that will be used for all new processors created, this might be useful if you want to import more than one data file into the same model. If the prefix is null, none will be applied. The prefix should not contain characters other than alphanumeric ones, and will have a single underscore appended to it.


populate

public static void populate(java.io.InputStream is,
                            org.embl.ebi.escience.scufl.ScuflModel model,
                            java.lang.String prefix)
                     throws org.embl.ebi.escience.scufl.UnknownProcessorException,
                            org.embl.ebi.escience.scufl.UnknownPortException,
                            org.embl.ebi.escience.scufl.ProcessorCreationException,
                            org.embl.ebi.escience.scufl.DataConstraintCreationException,
                            org.embl.ebi.escience.scufl.DuplicateProcessorNameException,
                            org.embl.ebi.escience.scufl.MalformedNameException,
                            org.embl.ebi.escience.scufl.ConcurrencyConstraintCreationException,
                            org.embl.ebi.escience.scufl.DuplicateConcurrencyConstraintNameException,
                            XScuflFormatException
Read from the given InputStream and populate the given ScuflModel with data from the definition. You can optionally specify a name prefix that will be used for all new processors created, this might be useful if you want to import more than one data file into the same model. If the prefix is null, none will be applied. The prefix should not contain characters other than alphanumeric ones, and will have a single underscore appended to it.


populate

public static void populate(org.jdom.Document document,
                            org.embl.ebi.escience.scufl.ScuflModel model,
                            java.lang.String prefix)
                     throws org.embl.ebi.escience.scufl.UnknownProcessorException,
                            org.embl.ebi.escience.scufl.UnknownPortException,
                            org.embl.ebi.escience.scufl.ProcessorCreationException,
                            org.embl.ebi.escience.scufl.DataConstraintCreationException,
                            org.embl.ebi.escience.scufl.DuplicateProcessorNameException,
                            org.embl.ebi.escience.scufl.MalformedNameException,
                            org.embl.ebi.escience.scufl.ConcurrencyConstraintCreationException,
                            org.embl.ebi.escience.scufl.DuplicateConcurrencyConstraintNameException,
                            XScuflFormatException
Read from the given JDOM Document and populate the given ScuflModel with data from the definition. You can optionally specify a name prefix that will be used for all new processors created, this might be useful if you want to import more than one data file into the same model. If the prefix is null, none will be applied. The prefix should not contain characters other than alphanumeric ones, and will have a single underscore appended to it.