www.element4solution.com

e4s.html
Class E4JavaScriptReference

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.E4JavaScriptIncludes
          extended by e4s.html.E4JavaScriptReference
All Implemented Interfaces:
E4JavaScript_Intf

public class E4JavaScriptReference
extends E4JavaScriptIncludes
implements E4JavaScript_Intf

A reference file for a E4JavaScript.

See Also:
E4JavaScript

Field Summary
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
E4JavaScriptReference(java.lang.String fname)
          Construct a Java-Script reference by the specified filename.
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 java.lang.String getName()
          Get the name of the reference file.
 boolean hasFunctionBody()
          Check, if this script allready has a function body declared.
 boolean isInline()
          Inline means, that the script is included in the HTML page after script collection.
 java.lang.String toString()
           
 
Methods inherited from class e4s.html.E4JavaScriptIncludes
addScript, getAdditionalScripts
 
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.E4JavaScript_Intf
getAdditionalScripts
 

Constructor Detail

E4JavaScriptReference

public E4JavaScriptReference(java.lang.String fname)
Construct a Java-Script reference by the specified filename. The filename can either be absolute (e.g. "http://www.myserver.com/js/script.js") or relative to the E4S installation directory in the HTTP environment.

Parameters:
fname - the filename
Method Detail

getName

public java.lang.String getName()
Get the name of the reference file.

Specified by:
getName in interface E4JavaScript_Intf
Returns:
the name

isInline

public boolean isInline()
Inline means, that the script is included in the HTML page after script collection.

Specified by:
isInline in interface E4JavaScript_Intf
Returns:
false always.

hasFunctionBody

public boolean hasFunctionBody()
Description copied from interface: E4JavaScript_Intf
Check, if this script allready has a function body declared.

Specified by:
hasFunctionBody in interface E4JavaScript_Intf
Returns:
true if a function body has been declared

toString

public java.lang.String toString()
Overrides:
toString in class E4Object

_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