www.element4solution.com

e4s.html
Class E4MethodSilent

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4Method
          extended by e4s.html.E4MethodSilent
All Implemented Interfaces:
E4Method_Intf

public class E4MethodSilent
extends E4Method
implements E4Method_Intf

Similar to a E4Method object, but all additional output generated by the E4S framework is supressed. This is useful, if the servlet requires to generate a non HTML output like XML response or other mime types rather than text/html. See the VCARD download example in the tutorial. Please note, that Java-Script in BODY and other HTML elements is not included when declared as silent methods.

See Also:
E4Method, e4s.html.A#A(e4s.html.E4MethodSilent)

Nested Class Summary
 
Nested classes/interfaces inherited from class e4s.html.E4Method
E4Method.E4MethodStatistics
 
Field Summary
 
Fields inherited from class e4s.html.E4Method
SYSTEM_ALIAS, USERDEF_ALIAS
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4MethodSilent()
           
E4MethodSilent(boolean requires_session)
          Create a E4Method object for later reference.
E4MethodSilent(int alias, java.lang.String description)
          In some cases, you might need a E4Method that can be referenced from outside (e.g. a Web-Page, a menu that comes out of a database).
E4MethodSilent(int external_alias, java.lang.String description, boolean requires_session)
          In some cases, you might need a E4Method that can be referenced from outside (e.g. a Web-Page, a menu that comes out of a database).
E4MethodSilent(java.lang.reflect.Method method, int aliasUserDef, java.lang.String description, boolean has_class_HTML_as_parameter, boolean has_class_E4CgiParams_as_parameter, boolean requires_session)
          Do not use this constructor, it is intended to be used by the E4S framework internally, to declare all E4Methods and set their apropriate objects.
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 IMG constructImg(E4ServletImplementation_Intf servlet)
          Get the path for an image that can be displayed using a dynamic content creator as URL.
 boolean isSilent()
          Check, if a E4Method is silent.
 
Methods inherited from class e4s.html.E4Method
constructUrl, constructUrl, constructUrl, constructUrl, constructUrl, constructUrl, dumpStatistics, findMethod, findUserDef, forceAlias, getAlias, getAvgBufferSize, getAvgDuration, getAvgDurationApp, getAvgDurationE4S, getCallCounter, getCallCounter, getDeclaringClass, getDescription, getE4MethodName, getExternalAlias, getFirstCall, getFirstCallLng, getHighestAlias, getLastCall, getLastCallLng, getMethod, getMethodName, getStats, getSumBufferSize, getSumDuration, getSumDurationApp, getSumDurationE4S, getUserDefinitions, getVector, is_E4CgiParams_a_parameter, is_HTML_a_parameter, requiresSession, resetStatistics, toString, updateStatistics
 
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, 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.html.E4Method_Intf
constructUrl, constructUrl, constructUrl, getAlias, getAvgBufferSize, getAvgDuration, getAvgDurationApp, getAvgDurationE4S, getCallCounter, getDeclaringClass, getFirstCall, getFirstCallLng, getLastCall, getLastCallLng, getMethod, getSumBufferSize, getSumDuration, getSumDurationApp, getSumDurationE4S, is_E4CgiParams_a_parameter, is_HTML_a_parameter, requiresSession, resetStatistics, updateStatistics
 

Constructor Detail

E4MethodSilent

public E4MethodSilent()

E4MethodSilent

public E4MethodSilent(int alias,
                      java.lang.String description)
In some cases, you might need a E4Method that can be referenced from outside (e.g. a Web-Page, a menu that comes out of a database). For this cases, you can force an alias code. We strongly recommend, that you use alias codes upwards from E4Method.USERDEF_ALIAS to have room for the automaticaly incremental alias coding schema below and some features to be built in the next release which needs codes above.

Parameters:
alias - the alias code
description - the description of the function - when it shall be listed for default startup, may be null. #see e4s.html.E4Method#USERDEF_ALIAS

E4MethodSilent

public E4MethodSilent(int external_alias,
                      java.lang.String description,
                      boolean requires_session)
In some cases, you might need a E4Method that can be referenced from outside (e.g. a Web-Page, a menu that comes out of a database). For this cases, you can force an alias code. We strongly recommend, that you use alias codes upwards from E4Method.USERDEF_ALIAS to have room for the automaticaly incremental alias coding schema below and some features to be built in the next release which needs codes above.

Parameters:
external_alias - the alias code
description - the description of the function - when it shall be listed for default startup, may be null.
requires_session - true: a session (login) is required #see e4s.html.E4Method#USERDEF_ALIAS

E4MethodSilent

public E4MethodSilent(boolean requires_session)
Create a E4Method object for later reference.

Parameters:
requires_session - true: a session (login) is required

E4MethodSilent

public E4MethodSilent(java.lang.reflect.Method method,
                      int aliasUserDef,
                      java.lang.String description,
                      boolean has_class_HTML_as_parameter,
                      boolean has_class_E4CgiParams_as_parameter,
                      boolean requires_session)
Do not use this constructor, it is intended to be used by the E4S framework internally, to declare all E4Methods and set their apropriate objects. Never use this function, unless you are very familary with the internal architecture of the e4s!

Method Detail

isSilent

public boolean isSilent()
Check, if a E4Method is silent.

Specified by:
isSilent in interface E4Method_Intf
Overrides:
isSilent in class E4Method
Returns:
true

constructImg

public IMG constructImg(E4ServletImplementation_Intf servlet)
Get the path for an image that can be displayed using a dynamic content creator as URL.

Parameters:
servlet - the servlet's context
Returns:
the new created IMG
See Also:
E4Method.constructUrl(e4s.servlet.E4ServletImplementation_Intf)

_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