Webitable System

net.sf.webitable
Class WebContext

java.lang.Object
  extended bynet.sf.webitable.WebContext

public class WebContext
extends java.lang.Object

Webitable Context Class for WebModules


Field Summary
static java.lang.String pubname
          Public name 'Webitable'
static java.lang.String version
          Version string '0.0.1'
 
Constructor Summary
WebContext(WebPrint p)
          Constructor with initialization of printing object
 
Method Summary
 WebDir getDir()
          Get file directory object of current context
 WebParam getParam()
          Get parameters of current context
 WebPrint getPrint()
          Get printing object of current context
 WebSql getSql()
          Get SQL object of current context
 void setDir(WebDir d)
          Set file directory object for current context (if not read-only)
 void setParam(WebParam e)
          Set parameters for current context (if not read-only)
 void setReadOnly()
          Set read-only flag (inhibit setters)
 void setSql(WebSql s)
          Set SQL object for current context (if not read-only)
 java.lang.String toString()
          Convertor to String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

public static final java.lang.String version
Version string '0.0.1'

See Also:
Constant Field Values

pubname

public static final java.lang.String pubname
Public name 'Webitable'

See Also:
Constant Field Values
Constructor Detail

WebContext

public WebContext(WebPrint p)
Constructor with initialization of printing object

Parameters:
p - printing object for text output
See Also:
WebPrint
Method Detail

toString

public java.lang.String toString()
Convertor to String

Returns:
String String presentation of WebContext object

setReadOnly

public void setReadOnly()
Set read-only flag (inhibit setters)

See Also:
setParam(net.sf.webitable.WebParam), WebContext#setFiles, setSql(net.sf.webitable.WebSql)

getPrint

public WebPrint getPrint()
Get printing object of current context

Returns:
Printing object

setParam

public void setParam(WebParam e)
Set parameters for current context (if not read-only)

Parameters:
e - Parameters
See Also:
setReadOnly()

getParam

public WebParam getParam()
Get parameters of current context

Returns:
Parameters

setDir

public void setDir(WebDir d)
Set file directory object for current context (if not read-only)

Parameters:
d - File directory object
See Also:
setReadOnly()

getDir

public WebDir getDir()
Get file directory object of current context

Returns:
Files object

setSql

public void setSql(WebSql s)
Set SQL object for current context (if not read-only)

Parameters:
s - SQL object
See Also:
setReadOnly()

getSql

public WebSql getSql()
Get SQL object of current context

Returns:
SQL object

Webitable System

SourceForge.net Logo