Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.arranger.jarl.script.jarlsp
Class SimpleJarlSPBase  view SimpleJarlSPBase download SimpleJarlSPBase.java

java.lang.Object
  extended bycom.arranger.jarl.script.jarlsp.SimpleJarlSPBase
All Implemented Interfaces:
JarlSPBase

public abstract class SimpleJarlSPBase
extends java.lang.Object
implements JarlSPBase

SimpleISPBase created on Jan 17, 2003


Field Summary
protected  java.io.Writer m_out
           
protected  java.util.Map m_properties
           
protected  JarlSPRuntime m_runtime
           
 
Constructor Summary
SimpleJarlSPBase()
           
 
Method Summary
 java.lang.Object get(java.lang.String name)
          Returns specified parameter.
 java.lang.String getString(java.lang.String name, java.lang.String defaultValue)
          Returns string version of specified parameter.
 void init(JarlSPRuntime runtime, java.util.Map properties)
          Initialize this page
 void print(boolean p)
          Prints the specified primitive.
 void print(byte p)
          Prints the specified primitive.
 void print(byte[] a)
          Prints the specified array.
 void print(byte[] a, int start, int length)
          Prints the specified array.
 void print(char p)
          Prints the specified primitive.
 void print(char[] a)
          Prints the specified array.
 void print(char[] a, int start, int length)
          Prints the specified array.
 void print(double p)
          Prints the specified primitive.
 void print(float p)
          Prints the specified primitive.
 void print(int p)
          Prints the specified primitive.
 void print(long p)
          Prints the specified primitive.
 void print(java.lang.Object o)
          Prints the specified object.
 void print(java.lang.String o)
          Prints the specified object.
 void set(java.lang.String name, java.lang.Object value)
          Sets the specified parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.arranger.jarl.script.jarlsp.JarlSPBase
execute
 

Field Detail

m_out

protected java.io.Writer m_out

m_properties

protected java.util.Map m_properties

m_runtime

protected JarlSPRuntime m_runtime
Constructor Detail

SimpleJarlSPBase

public SimpleJarlSPBase()
Method Detail

init

public void init(JarlSPRuntime runtime,
                 java.util.Map properties)
Initialize this page

Specified by:
init in interface JarlSPBase

print

public void print(boolean p)
           throws java.io.IOException
Prints the specified primitive.

Specified by:
print in interface JarlSPBase

print

public void print(byte p)
           throws java.io.IOException
Prints the specified primitive.

Specified by:
print in interface JarlSPBase

print

public void print(char p)
           throws java.io.IOException
Prints the specified primitive.

Specified by:
print in interface JarlSPBase

print

public void print(int p)
           throws java.io.IOException
Prints the specified primitive.

Specified by:
print in interface JarlSPBase

print

public void print(long p)
           throws java.io.IOException
Prints the specified primitive.

Specified by:
print in interface JarlSPBase

print

public void print(float p)
           throws java.io.IOException
Prints the specified primitive.

Specified by:
print in interface JarlSPBase

print

public void print(double p)
           throws java.io.IOException
Prints the specified primitive.

Specified by:
print in interface JarlSPBase

print

public void print(byte[] a)
           throws java.io.IOException
Prints the specified array.

Specified by:
print in interface JarlSPBase

print

public void print(byte[] a,
                  int start,
                  int length)
           throws java.io.IOException
Prints the specified array.

Specified by:
print in interface JarlSPBase

print

public void print(char[] a)
           throws java.io.IOException
Prints the specified array.

Specified by:
print in interface JarlSPBase

print

public void print(char[] a,
                  int start,
                  int length)
           throws java.io.IOException
Prints the specified array.

Specified by:
print in interface JarlSPBase

print

public void print(java.lang.Object o)
           throws java.io.IOException
Prints the specified object.

Specified by:
print in interface JarlSPBase

print

public void print(java.lang.String o)
           throws java.io.IOException
Prints the specified object.

Specified by:
print in interface JarlSPBase

get

public java.lang.Object get(java.lang.String name)
Returns specified parameter. Note, if the param isn't found, it goes first to the runtime, then to the 'value'


set

public void set(java.lang.String name,
                java.lang.Object value)
Sets the specified parameter.


getString

public java.lang.String getString(java.lang.String name,
                                  java.lang.String defaultValue)
Returns string version of specified parameter.