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