atg.web
Class PageFragment

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.logging.ApplicationLoggingImpl
          extended by atg.web.PageFragment
All Implemented Interfaces:
ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging

public class PageFragment
extends ApplicationLoggingImpl

This class is used to provide information necessary to construct a page fragment. Using this class a property file will be created to hold all necessary information for a page fragment. This page fragment will be used in the jsp pages and page fragment could be dynamically changed to point different url by over riding the property file.

 Here is the example use of the page fragment:

 <dsp:include page="${pageFrag.URL}" otherContext="${pageFrag.servletContext}"/>
 


Field Summary
static java.lang.String CLASS_VERSION
           
protected  java.lang.String mServletContext
           
protected  java.lang.String mURL
           
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
PageFragment()
           
 
Method Summary
 java.lang.String getServletContext()
          Returns the context root of the page fragment
 java.lang.String getURL()
          Returns the URL of the page fragment
 void setServletContext(java.lang.String pServletContext)
          Sets the context root of the page fragment
 void setURL(java.lang.String pUrl)
          Sets the URL of the page fragment
 
Methods inherited from class atg.nucleus.logging.ApplicationLoggingImpl
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLoggingIdentifier, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarning
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values

mServletContext

protected java.lang.String mServletContext

mURL

protected java.lang.String mURL
Constructor Detail

PageFragment

public PageFragment()
Method Detail

getServletContext

public java.lang.String getServletContext()
Returns the context root of the page fragment

Returns:
the servletContext

setServletContext

public void setServletContext(java.lang.String pServletContext)
Sets the context root of the page fragment

Parameters:
pServletContext - the servletContext to set

getURL

public java.lang.String getURL()
Returns the URL of the page fragment

Returns:
the uRL

setURL

public void setURL(java.lang.String pUrl)
Sets the URL of the page fragment

Parameters:
pUrl - the uRL to set