services
Class GlobalVarHandler

java.lang.Object
  extended by services.GlobalVarHandler
All Implemented Interfaces:
VarHandler

public class GlobalVarHandler
extends java.lang.Object
implements VarHandler

Expandiert globale Variablen.

Author:
Thorsten Berger

Constructor Summary
GlobalVarHandler(RequestInfo ri)
           
 
Method Summary
 java.lang.String[] canHandle()
          Returniert alle Variablen, die VarHandler expandieren kann.
 java.lang.String handleVar(java.lang.String var)
          Die eigenen Var. expandieren.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalVarHandler

public GlobalVarHandler(RequestInfo ri)
Method Detail

canHandle

public java.lang.String[] canHandle()
Description copied from interface: VarHandler
Returniert alle Variablen, die VarHandler expandieren kann.

Specified by:
canHandle in interface VarHandler
Returns:
String-Array mit Variablen

handleVar

public java.lang.String handleVar(java.lang.String var)
                           throws NoSuchVarException
Die eigenen Var. expandieren. Implementierung für VarHandler

Specified by:
handleVar in interface VarHandler
Parameters:
var - Variablenname
Returns:
Semantik der Var.
Throws:
NoSuchVarException