gov.bnl.star.offline.scheduler.request
Class RequestFactory

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.request.RequestFactory

public class RequestFactory
extends java.lang.Object

Version:
$Revision: 1.8 $ $Date: 2006/11/21 00:41:31 $
Author:
carcassi

Constructor Summary
RequestFactory()
          Creates a new instance of RequestFactory
 
Method Summary
static void main(java.lang.String[] args)
          Tests the parser by analyzing a file and displaying the content of the Request list that the parser returned.
static Request parseXML(java.lang.String xmlFileName)
           
static Request parseXMLString(java.lang.String xmls, java.lang.String xmlFileName)
           
static void setDefaults(java.util.Map defaults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestFactory

public RequestFactory()
Creates a new instance of RequestFactory

Method Detail

setDefaults

public static void setDefaults(java.util.Map defaults)

parseXML

public static Request parseXML(java.lang.String xmlFileName)

parseXMLString

public static Request parseXMLString(java.lang.String xmls,
                                     java.lang.String xmlFileName)

main

public static void main(java.lang.String[] args)
Tests the parser by analyzing a file and displaying the content of the Request list that the parser returned.

Parameters:
args - the name of the XML request file


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.