WebFlow.RemoteParse
Class RemoteParseImpl

WebFlow.RemoteParse.RemoteParseImpl

public class RemoteParseImpl


Constructor Summary
RemoteParseImpl(org.omg.CORBA.Object peer, java.lang.String msg)
           
 
Method Summary
 void addJob(java.lang.String jobname)
          This creates a new parseJob object and adds it to the the hashtable list.
 void addJobParams(java.lang.String jobname, java.lang.String paramname, java.lang.String paramvalue)
          Finds the named job from the hashtable and adds the parameter name and value to it.
 void addParseJobNode(java.lang.String jobname)
          Adds a parseJob to a parent.
 java.lang.String[] getJobNames()
          Getting job Names for the hashtables that the job and task set up.
 java.lang.String[] getJobParamNames(java.lang.String jobname)
          Accessor methods for returning the job's list of parameter names and the value for a particular
 java.lang.String getJobParamValue(java.lang.String jobname, java.lang.String paramValue)
           
 java.lang.String[] getTaskNames()
           
 void init(java.lang.String xmlfilename, java.lang.String url)
          Initialize the object.
 void removeJob(java.lang.String jobname)
          Removes the specificed job from the vector list
 void removeParseJobNode(java.lang.String jobname)
          Removes the specified node from the xml tree.
 void saveDocToFile()
          Save the document to a file.
 void test()
           
 void updateParseJobNode(java.lang.String jobname)
          Updates the xml file.
 

Constructor Detail

RemoteParseImpl

public RemoteParseImpl(org.omg.CORBA.Object peer,
                       java.lang.String msg)
                throws WebFlow.NullPointerException
Method Detail

test

public void test()

init

public void init(java.lang.String xmlfilename,
                 java.lang.String url)
Initialize the object.
Parameters:
xmlFileName - full path name of the JobDesc.xml file
url - the url of the xsil dtd.

saveDocToFile

public void saveDocToFile()
Save the document to a file.
Parameters:
xmlFileName - the name of the file to write xml into.

getJobNames

public java.lang.String[] getJobNames()
Getting job Names for the hashtables that the job and task set up.

getTaskNames

public java.lang.String[] getTaskNames()

getJobParamNames

public java.lang.String[] getJobParamNames(java.lang.String jobname)
Accessor methods for returning the job's list of parameter names and the value for a particular

getJobParamValue

public java.lang.String getJobParamValue(java.lang.String jobname,
                                         java.lang.String paramValue)

addJob

public void addJob(java.lang.String jobname)
This creates a new parseJob object and adds it to the the hashtable list.

addJobParams

public void addJobParams(java.lang.String jobname,
                         java.lang.String paramname,
                         java.lang.String paramvalue)
Finds the named job from the hashtable and adds the parameter name and value to it. If the named parameter already exists, the value is updated.

addParseJobNode

public void addParseJobNode(java.lang.String jobname)
Adds a parseJob to a parent. Currently the parent must be the top level document.

updateParseJobNode

public void updateParseJobNode(java.lang.String jobname)
Updates the xml file. Just deletes the old node and creates a new node with the new values. Perhaps not the most efficient way of doing this.

removeJob

public void removeJob(java.lang.String jobname)
Removes the specificed job from the vector list

removeParseJobNode

public void removeParseJobNode(java.lang.String jobname)
Removes the specified node from the xml tree.