Parses an XML file that declares Jobs and their schedules (Triggers). The xml document must conform to the format defined in "job_scheduling_data_1_5.dtd" or "job_scheduling_data_1_5.xsd" After creating an instance of this class, you should call one of the
processFile()
functions, after which you may call the
getScheduledJobs()
function to get a handle to the defined Jobs and Triggers, which can then be scheduled with the
Scheduler
. Alternatively, you could call the
processFileAndScheduleJobs()
function to do all of this in one step. The same instance can be used again and again, with the list of defined Jobs being cleared each time you call a
processFile
method, however a single instance is not thread-safe.
@author
Chris Bonham
@author James House
@author pl47ypus