org.zkoss.xel.util
Class SimpleXelContext

java.lang.Object
  extended by org.zkoss.xel.util.SimpleXelContext
All Implemented Interfaces:
XelContext

public class SimpleXelContext
extends java.lang.Object
implements XelContext

A simple implementation of XelContext.

Since:
3.0.0
Author:
tomyeh

Constructor Summary
SimpleXelContext()
           
SimpleXelContext(VariableResolver resolver)
           
SimpleXelContext(VariableResolver resolver, FunctionMapper mapper)
           
 
Method Summary
 FunctionMapper getFunctionMapper()
          Returns the function mapper, or null if not available.
 VariableResolver getVariableResolver()
          Returns the variable resolver, or null if not available.
 void setFunctionMapper(FunctionMapper mapper)
          Sets the function mapper, or null if not available.
 void setVariableResolver(VariableResolver resolver)
          Sete the variable resovler, or null if not available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleXelContext

public SimpleXelContext(VariableResolver resolver,
                        FunctionMapper mapper)

SimpleXelContext

public SimpleXelContext(VariableResolver resolver)

SimpleXelContext

public SimpleXelContext()
Method Detail

setVariableResolver

public void setVariableResolver(VariableResolver resolver)
Sete the variable resovler, or null if not available.


setFunctionMapper

public void setFunctionMapper(FunctionMapper mapper)
Sets the function mapper, or null if not available.


getVariableResolver

public VariableResolver getVariableResolver()
Description copied from interface: XelContext
Returns the variable resolver, or null if not available.

Specified by:
getVariableResolver in interface XelContext

getFunctionMapper

public FunctionMapper getFunctionMapper()
Description copied from interface: XelContext
Returns the function mapper, or null if not available.

Specified by:
getFunctionMapper in interface XelContext


Copyright © 2005-2009 Potix Corporation. All Rights Reserved.