Methods in ca.cbc.sportwire.servlet.data that return JDOMFile |
static JDOMFile |
JDOMFile.getInstance(org.apache.velocity.context.Context context)
getInstance : Creates a JDOMFile object with no
document defined; does not cache the object. |
static JDOMFile |
JDOMFile.getInstance(org.apache.velocity.context.Context context,
java.lang.String filename)
getInstance : Extracts the global properties from
the context and calls that getInstance method. |
static JDOMFile |
JDOMFile.getInstance(org.apache.commons.collections.ExtendedProperties sc)
getInstance : calls the (sc,file) version with a
null filename) |
static JDOMFile |
JDOMFile.getInstance(org.apache.commons.collections.ExtendedProperties sc,
java.lang.String filename)
getInstance : Returns the JDOM object if the
filename is null, otherwise attempts to find a cached JDOM
object in the TTL cache or creates a new one, loads the
Document and then stashes the new object in the TTL. |
JDOMFile |
JDOMFile.transform(java.lang.String relxslfile)
transform will search for the XSL file according
to the properties (XSL_PATHS_PROPERTY) and extensions
(XSL_EXTS_PROPERTY) and then apply the transform creating a
new JDOMFile object. |
JDOMFile |
JDOMFile.transform(java.io.File xsl)
transform : If all goes well, this will either
find a previous request for this transform and return that
object from the cache, or it will transform this object
according to the supplied XSL File and return and cache that. |
static JDOMFile |
JDOMtext.getInstance(org.apache.velocity.context.Context context)
|
static JDOMFile |
JDOMtext.getInstance(org.apache.velocity.context.Context context,
java.lang.String ascii)
getInstance : Extracts the global properties from
the context and calls that getInstance method. |
static JDOMFile |
JDOMtext.getInstance(org.apache.commons.collections.ExtendedProperties sc)
getInstance : calls the (sc,file) version with a
null filename) |
static JDOMFile |
JDOMtext.getInstance(org.apache.commons.collections.ExtendedProperties sc,
java.lang.String ascii)
getInstance : Returns the JDOM object if the
filename is null, otherwise attempts to find a cached JDOM
object in the MRU cache or creates a new one, loads the
Document and then stashes the new object in the TTL. |
static JDOMFile |
JDOMDB.getInstance(org.apache.velocity.context.Context context)
getInstance attempts to fetch the matching
instance via the Velocity Context $globals
link to the TTL cache. |
static JDOMFile |
JDOMDB.getInstance(org.apache.velocity.context.Context context,
java.lang.String sql)
getInstance gets the app config and also sets the
query in motion. |
static JDOMFile |
JDOMDB.getInstance(org.apache.commons.collections.ExtendedProperties sc)
getInstance using the application properties
(needed for the JDBC and cache periodicity settings. |
static JDOMFile |
JDOMDB.getInstance(org.apache.commons.collections.ExtendedProperties sc,
java.lang.String sql)
getInstance is the same as the version using the
Velocity page config, but gets the app config directly. |