edu.isi.pegasus.planner.parser
public class SiteCatalogXMLParserFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PARSER_PACKAGE_NAME
Package to prefix "just" class names with.
|
static String |
DEFAULT_SC_PARSER_CLASS
The default Site Catalog Parser
|
static String |
SC_PARSER3_CLASS
The SC Parser classname
|
private static long |
SC_VERSION_2_0_0 |
static long |
SC_VERSION_3_0_0 |
static long |
SC_VERSION_4_0_0 |
| Constructor and Description |
|---|
SiteCatalogXMLParserFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Map |
getMetadata(PegasusBag bag,
String file)
Returns the metadata stored in the root adag element in the DAX
|
private static SiteCatalogXMLParser |
loadSiteCatalogParser(String classname,
PegasusBag bag,
List<String> sites)
Loads the appropriate Site Catalog Parser looking at the dax schema that is specified by
the user.
|
static SiteCatalogXMLParser |
loadSiteCatalogXMLParser(PegasusBag bag,
String file,
List<String> sites)
Loads the appropriate DAXParser looking at the dax schema that is specified by
the user.
|
public static final String DEFAULT_PARSER_PACKAGE_NAME
private static final long SC_VERSION_2_0_0
public static final long SC_VERSION_3_0_0
public static final long SC_VERSION_4_0_0
public static final String DEFAULT_SC_PARSER_CLASS
public static final String SC_PARSER3_CLASS
public static SiteCatalogXMLParser loadSiteCatalogXMLParser(PegasusBag bag, String file, List<String> sites) throws SiteCatalogXMLParserFactoryException
bag - bag of Pegasus intialization objectsfile - the site catalog filesites - the list of sites that need to be parsed. * means allSiteCatalogXMLParserFactoryException - that nests any error that
might occur during the instantiation#DEFAULT_CALLBACK_PACKAGE_NAMEprivate static final SiteCatalogXMLParser loadSiteCatalogParser(String classname, PegasusBag bag, List<String> sites)
classname - the classname of the parser class that needs to be loadedbag - bag of Pegasus intialization objectssites - the list of sites that need to be parsed. * means allSiteCatalogXMLParserFactoryException - that nests any error that
might occur during the instantiation#DEFAULT_CALLBACK_PACKAGE_NAMEpublic static Map getMetadata(PegasusBag bag, String file)
bag - the bag of initialization objectsfile - the site catalog file.