ca.cbc.sportwire.servlet.data
Class DOMFile

java.lang.Object
  |
  +--ca.cbc.sportwire.servlet.data.DOMFile
All Implemented Interfaces:
GlobalCacheProperties, SportPageProperties
Direct Known Subclasses:
JDOMFile

public abstract class DOMFile
extends java.lang.Object
implements GlobalCacheProperties, SportPageProperties

DOMFile: Abstract class for XML Documents; probably as close to deprecated as it can be.

Created: Sun Dec 16 01:18:48 EST 2001
 $Log: DOMFile.java,v $
 Revision 1.6  2002/02/18 20:34:04  garym
 implement ad-hoc SQL from $sql.dom()

 Revision 1.5  2002/01/28 07:01:36  garym
 Implement JDOM transform caching and document parse thread.

 Revision 1.4  2002/01/24 19:50:20  garym
 Major restructuring of beans and pagehandlers

 Revision 1.3  2002/01/15 08:28:50  garym
 implemented MRU cache for the JDOMFile objects

 Revision 1.2  2001/12/24 05:47:56  garym
 Fixed interface error on DOM data item loading

 Revision 1.1  2001/12/16 22:01:56  garym
 fixes to default page handling


 

Version:
$Id: DOMFile.java,v 1.6 2002/02/18 20:34:04 garym Exp $
Author:
Gary Lawrence Murphy

Field Summary
(package private) static org.apache.log4j.Category cat
           
 
Fields inherited from interface ca.cbc.sportwire.servlet.data.GlobalCacheProperties
CACHE_DEFAULT_PERIOD, CACHE_DEFAULT_TIMEOUT, CACHE_PERIOD, CACHE_TIMEOUT, MRU_PROPERTY, MRU_VAR, TTL_PROPERTY, TTL_VAR
 
Fields inherited from interface ca.cbc.sportwire.servlet.data.SportPageProperties
BEAN_SUFFIX, BEANFACTORY_VAR, CONTEXT_VAR, DATE_VAR, DEFAULT_EXTS, DEFAULT_INDEXES, DEFAULT_PAGE_SUFFIX, DEFAULT_SAX_DRIVER_CLASS, DEFAULT_TIMEZONE, DEFAULT_TOPIC, DOM_VAR, ERROR_TEMPLATE_VAR, EXCEPTION_VAR, EXTENSIONS_VAR, FALSE, GLOBAL_VAR, HOME_PROPERTY, INCLUDE_EXTS_PROPERTY, INCLUDE_VAR, INDEX_INDICATOR_VAR, INDEX_TEMPLATE_VAR, LAYOUT_TEMPLATE_VAR, MACRO_LIB_PROPERTY, MISSING_TEMPLATE_VAR, OUTPUT_VAR, PAGE_EXPIRE, PAGE_TEMPLATE_VAR, PANIC_404_PAGE, PANIC_404_PROPERTY, PANIC_500_PAGE, PANIC_500_PROPERTY, PARAM_PARSER_VAR, PATH_VAR, REQUEST_VAR, RESPONSE_VAR, SAX_CLASS_PROPERTY, SERVLET_DEBUG, SERVLET_LOGCONF_PROPERTY, SQL_SUFFIX, TEMPLATE_PATHS_PROPERTY, TIMEZONE_PROPERTY, TRUE, URI_VAR, VELOCITY_LOGFILE_DEFAULT, VELOCITY_LOGFILE_PROPERTY, XML_EXTS, XML_EXTS_PROPERTY, XML_PATHS_PROPERTY, XML_SUFFIX, XSL_EXTS, XSL_EXTS_PROPERTY, XSL_PATHS_PROPERTY
 
Constructor Summary
protected DOMFile()
           
protected DOMFile(java.lang.String filename)
           
 
Method Summary
abstract  java.lang.Object getDocument()
          Get the Document object
abstract  java.lang.Object getRootElement()
           
protected abstract  void setDocument(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

cat

static org.apache.log4j.Category cat
Constructor Detail

DOMFile

protected DOMFile()

DOMFile

protected DOMFile(java.lang.String filename)
           throws java.io.FileNotFoundException,
                  java.io.IOException
Method Detail

getDocument

public abstract java.lang.Object getDocument()
Get the Document object
Returns:
org.x3c.dom.Document value

getRootElement

public abstract java.lang.Object getRootElement()

setDocument

protected abstract void setDocument(java.lang.String filename)
                             throws java.io.FileNotFoundException,
                                    java.io.IOException