ca.cbc.sportwire.servlet.data
Class PathBean

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--ca.cbc.sportwire.servlet.data.PathList
                          |
                          +--ca.cbc.sportwire.servlet.data.PathBean
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable, SportPageProperties

public class PathBean
extends PathList
implements SportPageProperties

PathBean.java: Merges the PathList into the SportPage context so we can use PathUtil to resolve filenames.

Created: Thu Jan 24 10:46:05 2002
 $Log: PathBean.java,v $
 Revision 1.2  2002/01/29 19:33:45  garym
 fixed concurrency bug with global config

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


 

Version:
$Id: PathBean.java,v 1.2 2002/01/29 19:33:45 garym Exp $
Author:
Gary Lawrence Murphy
See Also:
Serialized Form

Field Summary
private  org.apache.commons.collections.ExtendedProperties appConfig
           
(package private) static org.apache.log4j.Category cat
           
 
Fields inherited from class java.util.ArrayList
elementData, serialVersionUID, size
 
Fields inherited from class java.util.AbstractList
modCount
 
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
PathBean()
           
PathBean(org.apache.commons.collections.ExtendedProperties sc)
           
PathBean(org.apache.commons.collections.ExtendedProperties sc, java.lang.String pathinfo)
           
PathBean(java.lang.String pathinfo)
           
 
Method Summary
 java.lang.String ext()
           
 org.apache.commons.collections.ExtendedProperties getAppConfig()
          Get the value of appConfig; this must be set before you can use the extended methods of this class.
 java.lang.String getExt()
           
 void setAppConfig(org.apache.commons.collections.ExtendedProperties v)
          Set the value of appConfig.
 
Methods inherited from class ca.cbc.sportwire.servlet.data.PathList
get, getDepth, getLevel, getLevel, setPath, toString
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, RangeCheck, readObject, remove, removeRange, set, size, toArray, toArray, trimToSize, writeObject
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Field Detail

cat

static org.apache.log4j.Category cat

appConfig

private org.apache.commons.collections.ExtendedProperties appConfig
Constructor Detail

PathBean

public PathBean()

PathBean

public PathBean(java.lang.String pathinfo)

PathBean

public PathBean(org.apache.commons.collections.ExtendedProperties sc)

PathBean

public PathBean(org.apache.commons.collections.ExtendedProperties sc,
                java.lang.String pathinfo)
Method Detail

getAppConfig

public org.apache.commons.collections.ExtendedProperties getAppConfig()
Get the value of appConfig; this must be set before you can use the extended methods of this class.
Returns:
ExtendedProperties value of appConfig.

setAppConfig

public void setAppConfig(org.apache.commons.collections.ExtendedProperties v)
Set the value of appConfig.
Parameters:
v - webapp properties

getExt

public java.lang.String getExt()

ext

public java.lang.String ext()