All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dmoisan.xml.tvschedule.TVScheduleOutputObject

java.lang.Object
   |
   +----dmoisan.xml.tvschedule.TVScheduleOutputObject

public abstract class TVScheduleOutputObject
extends Object
TVScheduleOutputObject Abstract base class for TVScheduleScalaScript and other objects that generate output from

See Also:
ScalaScript, ProgramItem

Constructor Index

 o TVScheduleOutputObject()

Method Index

 o endChannel()
endChannel -- End Channel.
 o endDay()
endDay -- End programming day.
 o endSchedule()
endSchedule -- Close all files
 o newChannel(String)
newChannel -- Initialize new channel output object.
 o newProgram(ProgramItem)
newProgram -- Insert new program item
 o newSchedule(String)
newSchedule(String schedulename) Intialize new Scala schedule object
 o setBanner(String)
setBanner -- Set banner
 o setHoliday(String)
setHoliday Get the Holiday text from the parser
 o startDay(String)
startDay -- Start programming day.

Constructors

 o TVScheduleOutputObject
 public TVScheduleOutputObject()

Methods

 o newSchedule
 public abstract void newSchedule(String schedulename) throws TVScheduleParseException, IOException
newSchedule(String schedulename) Intialize new Scala schedule object

Parameters:
schedulename - (String) Name of TV schedule
Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O errors
 o newChannel
 public abstract void newChannel(String channel) throws TVScheduleParseException, IOException
newChannel -- Initialize new channel output object.

Parameters:
channel - Channel name
Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O errors
 o setBanner
 public abstract void setBanner(String banner) throws TVScheduleParseException, IOException
setBanner -- Set banner

Parameters:
banner - String Banner text
Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O errors
 o setHoliday
 public abstract void setHoliday(String banner) throws TVScheduleParseException, IOException
setHoliday Get the Holiday text from the parser

Parameters:
holiday - String Holiday notification text
Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O errors
 o newProgram
 public abstract void newProgram(ProgramItem program) throws TVScheduleParseException, IOException
newProgram -- Insert new program item

Parameters:
program - ProgramItem Program information
Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O errors
 o startDay
 public abstract void startDay(String day) throws TVScheduleParseException, IOException
startDay -- Start programming day.

Parameters:
day - String Current programming day
Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O errors
 o endDay
 public abstract void endDay() throws TVScheduleParseException, IOException
endDay -- End programming day. Usually used to end the current page.

Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O errors
 o endChannel
 public abstract void endChannel() throws TVScheduleParseException, IOException
endChannel -- End Channel. Used to close the current output file.

Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O errors
 o endSchedule
 public abstract void endSchedule() throws TVScheduleParseException, IOException
endSchedule -- Close all files

Throws: TVScheduleParseException
Thrown on parsing/semantic errors
Throws: IOException
Thrown on I/O Errors

All Packages  Class Hierarchy  This Package  Previous  Next  Index