Package ca.cbc.sportwire.servlet.data

Interface Summary
DBCacheProperties DBCacheProperties provides runtime constants for interpreting the MRU and TTL cache properties.
DOMFactory DOMFactory: interface for DOM/JDOM xml-doc data object such as installed by the BasicPageHandler as the $xml variable into the context; this provides access to a DOM built from the string parameter.
GlobalCacheProperties GlobalCacheProperties provides runtime constants for interpreting the MRU and TTL cache properties.
LineupBean LineupBean provides runtime constants for interpreting the Lineup properties.
SportPageProperties SportPageProperties defines the common interface for all classes which can use the Velocity Context to generate an instance of the class through the BeanFactory.
 

Class Summary
BeanFactory BeanFactory.java: create an instance of the specified class first by trying a getInstance(context) or getInstance(ExtendedProperties) method, then getInstance() and finally try for a null constructor.
DBCacheBean DBCacheBean is a general purpose base class for JSP page beans that do a period update from a database, then offer the result set read-only to a large number of concurrent sessions.
DocumentFile DocumentFile: Creates a wrapper around a W3C Document with access methods more amiable to Velocity (Velocity has only foreach loops); this class provides some convenience functions, but be aware that once you dig into Nodes and Attr objects, you will need to use the static functions to manipulate them.
DOMDBFactory DOMDBFactory: creates DocumentFile DOM xml-doc data object; installed by the BasicPageHandler as the $xml variable into the context; this provides access to a DOM built from the remainder of the pathinfo.
DOMFile DOMFile: Abstract class for XML Documents; probably as close to deprecated as it can be.
DOMFileFactory DOMFileFactory: creates DocumentFile DOM xml-doc data object; installed by the BasicPageHandler as the $xml variable into the context; this provides access to a DOM built from the remainder of the pathinfo.
FileFactory FileFactory: Searches for a file from the configured paths and extension choices; used as a page var to expand the pathinfo in a template.
JDOMDB JDOMDB is a JDOMFile that loads it's document via periodic updates from a database.
JDOMFile JDOMFile: Creates a JDOM wrapper around an XML Document; this class also provides an empty getInstance method for creating a javabean that can subsequently be loaded with an arbitrary XML document.
JDOMtext JDOMtext.java: Highly experimental -- uses an external process to create an HTML version of an ascii string, and then parses that text to get at the JDOM model.
Lineup Lineup: An abstract velocity interface to access the news lineups such that lineups are only refreshed periodically; the period of updates is set in the sportpage.conf as lineup.refresh=seconds
PathBean PathBean.java: Merges the PathList into the SportPage context so we can use PathUtil to resolve filenames.
PathList PathList: creates an array-list from the elements of the pathinfo (requestURI) string by breaking the string on file.separator.
ScriptLineup ScriptLineup: A velocity interface to access the news lineups via an external call to a CBC Newsworld script
TemplateLineup TemplateLineup: Velocity interface to Brian Gordon's cbc.template.presentation.Lineup object -- non CBC sites will probably want to delete this class.
TestDBCacheBean File TestDBCacheBean.java is automaticaly generated by 'unittestsgen' application.
TestDocumentFile File TestDocumentFile.java is automaticaly generated by 'unittestsgen' application.
TestJDOMFile File TestJDOMFile.java is automaticaly generated by 'unittestsgen' application.
TestPathList File TestPathList.java is automaticaly generated by 'unittestsgen' application.
TestScriptLineup File TestScriptLineup.java is automaticaly generated by 'unittestsgen' application.
TestTemplateLineup File TestTemplateLineup.java is automaticaly generated by 'unittestsgen' application.
TestVelocityCalendar File TestVelocityCalendar.java is automaticaly generated by 'unittestsgen' application.
VelocityCalendar VelocityCalendar: Wraps GregorianCalendar into a package easier to use with Velocity