www.element4solution.com

e4s.servlet
Class E4ServletImplementation_Symbol

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.servlet.E4ServletImplementation
          extended by e4s.servlet.E4ServletImplementation_Applet
              extended by e4s.servlet.E4ServletImplementation_Symbol
All Implemented Interfaces:
E4ServletImplementation_Intf

public class E4ServletImplementation_Symbol
extends E4ServletImplementation_Applet
implements E4ServletImplementation_Intf

Implementation of the e4s when running local on a PDA. Alternate implementations are E4ServletImplementation_Servlet for server side applications and E4ServletImplementation_Applet for local applet-based environments.

Since:
JDK 1.4
See Also:
e4s.servlet.servletImplementation_Server, E4ServletImplementation_Applet, e4s.E4MobileHttpServer, e4s.Symbol

Field Summary
 
Fields inherited from class e4s.servlet.E4ServletImplementation_Applet
FILENAME_TODO
 
Fields inherited from class e4s.servlet.E4ServletImplementation
COOKIE_PREFIX, COOKIE_SEPERATOR, m_last_alias, m_last_mref
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Fields inherited from interface e4s.servlet.E4ServletImplementation_Intf
PARAM_FUNCTION, PARAM_PRESERVED
 
Constructor Summary
E4ServletImplementation_Symbol(java.lang.String inetAddress, java.lang.String applicationRoot)
           
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 E4DocumentBase defaultE4DocumentBase()
           
 E4PersistantBase defaultPersistantBase()
           
 java.lang.String getUrl()
          Get the URL of the servlet itself.
 void invalidateSession()
          Empty Implementation.
 boolean isRunningClient()
          Check, if the implementation of this interface is running in E4Client mode.
 boolean isRunningServer()
          Check, if the implementation of this interface is running in Server mode.
 
Methods inherited from class e4s.servlet.E4ServletImplementation_Applet
addParameter, assignCSS, closeHtmlOutput, getCookie, getCSS, getDateFormat, getDateTimeFormat, getHttpAddr, getParameters, getPersistantParameter, getPersistantParameterIntArr, getPreserved_static, getPreserved, getSession, getSessionId, getSessionObject, getSessionObject, getSessionObjects, getTimeFormat, invalidateSession, invoceFunction, invoceFunction, invoceFunctionHTML, invoceFunctionHTML, isRunningClient_Microsoft, onExitTask, openHtmlOutput, rem, removeSessionObject, removeSessionObject, removeSessionObjects, setCookie, setPersistantParameter, setSessionObject, setSessionObject, SystemError, SystemError, SystemError, SystemError, SystemError, write, write, write, writeln, writePreserved, writePreservedOut
 
Methods inherited from class e4s.servlet.E4ServletImplementation
getApplication, getApplObj, getClient, getClientObject, getClientObject, getClientObject, getClientValue, getClientValue, getClientValue, getClientValueBool, getClientValueBool, getClientValueDate, getClientValueDate, getClientValueFloat, getClientValueFloat, getClientValueInt, getClientValueInt, getClientValueLong, getClientValueLong, getCompany_Group, getCookieArr, getCookieBool, getCookieDate, getCookieLong, getCountryCode, getDecimalSign, getLanguage, getPickParams, getRemoteAddr, getSessionObject_Boolean, getSessionObject_Long, getSessionObject_String, getStartupTime, getTimeZone, getUser, getUserValue, getUserValueBool, getUserValueDate, getUserValueIDs, getUserValueInt, getUserValueLong, invoceFunctionHTML, isRunningWindow, removeApplicationObject, removeClientObject, removeClientObject, removeClientObject, removeClientObject, removeClientValue, removeClientValue, removeUserValue, sessionCanEditHints, sessionCanEditHints, sessionCanEditStyles, sessionCanEditStyles, sessionCanEditTranslations, sessionCanEditTranslations, setApplicationObject, setClientObject, setClientObject, setClientObject, setClientObject, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setSessionObject, setSessionObject, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface e4s.servlet.E4ServletImplementation_Intf
assignCSS, closeHtmlOutput, getApplObj, getClient, getClientObject, getClientObject, getClientValue, getClientValueBool, getClientValueDate, getClientValueFloat, getClientValueInt, getClientValueLong, getCookie, getCookieArr, getCookieBool, getCookieDate, getCookieLong, getCountryCode, getCSS, getDateFormat, getDateTimeFormat, getDecimalSign, getHttpAddr, getLanguage, getParameters, getPersistantParameter, getPersistantParameterIntArr, getPickParams, getPreserved, getRemoteAddr, getSession, getSessionId, getSessionObject_Boolean, getSessionObject_Long, getSessionObject_String, getSessionObject, getSessionObject, getSessionObjects, getTimeFormat, getTimeZone, getUserValue, getUserValueBool, getUserValueDate, getUserValueInt, getUserValueLong, invalidateSession, invoceFunction, invoceFunctionHTML, invoceFunctionHTML, isRunningWindow, onExitTask, openHtmlOutput, rem, removeApplicationObject, removeClientObject, removeClientObject, removeClientObject, removeClientValue, removeSessionObject, removeSessionObject, removeSessionObjects, removeUserValue, sessionCanEditHints, sessionCanEditHints, sessionCanEditStyles, sessionCanEditStyles, sessionCanEditTranslations, sessionCanEditTranslations, setApplicationObject, setClientObject, setClientObject, setClientObject, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setClientValue, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setCookie, setPersistantParameter, setSessionObject, setSessionObject, setSessionObject, setSessionObject, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, setUserValue, SystemError, SystemError, SystemError, SystemError, SystemError, write, write, writeln, writePreserved, writePreservedOut
 

Constructor Detail

E4ServletImplementation_Symbol

public E4ServletImplementation_Symbol(java.lang.String inetAddress,
                                      java.lang.String applicationRoot)
Method Detail

isRunningServer

public boolean isRunningServer()
Description copied from interface: E4ServletImplementation_Intf
Check, if the implementation of this interface is running in Server mode. A server needs an Apache Tomcat or similar, URL's are passed to the server and the CGI interface is used.

Specified by:
isRunningServer in interface E4ServletImplementation_Intf
Overrides:
isRunningServer in class E4ServletImplementation_Applet
Returns:
true, if running in Server environment, false if running in E4Client environment
See Also:
E4ServletImplementation_Servlet, E4ServletImplementation_Intf.isRunningClient()

isRunningClient

public boolean isRunningClient()
Description copied from interface: E4ServletImplementation_Intf
Check, if the implementation of this interface is running in E4Client mode. A client covers the CGI implementation and URL handling with E4JavaScript functions, instead of a servlet a applet is included into a web page that handles all the interaction between the browser and the e4s.

Specified by:
isRunningClient in interface E4ServletImplementation_Intf
Overrides:
isRunningClient in class E4ServletImplementation_Applet
Returns:
true, if running in E4Client environment, false if running in Server environment
See Also:
E4ServletImplementation_Intf.isRunningServer()

getUrl

public java.lang.String getUrl()
Description copied from interface: E4ServletImplementation_Intf
Get the URL of the servlet itself. Example: when your servlet zone in Tomcat is named "zoneX" and your servlet is mapped to "servletY" then this function would return "/zoneX/servletY".

Specified by:
getUrl in interface E4ServletImplementation_Intf
Overrides:
getUrl in class E4ServletImplementation_Applet
Returns:
"."

defaultE4DocumentBase

public E4DocumentBase defaultE4DocumentBase()
Specified by:
defaultE4DocumentBase in interface E4ServletImplementation_Intf
Overrides:
defaultE4DocumentBase in class E4ServletImplementation_Applet

defaultPersistantBase

public E4PersistantBase defaultPersistantBase()
Specified by:
defaultPersistantBase in interface E4ServletImplementation_Intf
Overrides:
defaultPersistantBase in class E4ServletImplementation_Applet

invalidateSession

public void invalidateSession()
Empty Implementation.


_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com