org.zkoss.zest.sys.impl
Class ConfigurationImpl

java.lang.Object
  extended by org.zkoss.zest.sys.impl.ConfigurationImpl
All Implemented Interfaces:
Configuration

public class ConfigurationImpl
extends java.lang.Object
implements Configuration

The default implementation of Configuration.

Author:
tomyeh

Constructor Summary
ConfigurationImpl(ActionDefinition[] defs, java.lang.String[] exts, ErrorHandler errh, org.zkoss.xel.VariableResolver resolver, org.zkoss.xel.FunctionMapper mapper)
           
 
Method Summary
 ActionDefinition[] getActionDefinitions()
          Returns an array of ActionDefinition that have been defined
 ErrorHandler getErrorHandler()
          Returns the error handler, or null if not available.
 java.lang.String[] getExtensions()
          Returns the extensions that will be processed.
 org.zkoss.xel.FunctionMapper getFunctionMapper()
          Returns the function mapper defined in the configuration, or null if not available.
 org.zkoss.xel.VariableResolver getVariableResolver()
          Returns the variable resolver defined in the configuration, 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

ConfigurationImpl

public ConfigurationImpl(ActionDefinition[] defs,
                         java.lang.String[] exts,
                         ErrorHandler errh,
                         org.zkoss.xel.VariableResolver resolver,
                         org.zkoss.xel.FunctionMapper mapper)
Method Detail

getActionDefinitions

public ActionDefinition[] getActionDefinitions()
Description copied from interface: Configuration
Returns an array of ActionDefinition that have been defined

Specified by:
getActionDefinitions in interface Configuration

getExtensions

public java.lang.String[] getExtensions()
Description copied from interface: Configuration
Returns the extensions that will be processed. If a request's path does not match any of the extensions, it will be ignored by ZEST (and handled as if ZEST is not available).

Specified by:
getExtensions in interface Configuration

getErrorHandler

public ErrorHandler getErrorHandler()
Description copied from interface: Configuration
Returns the error handler, or null if not available. Then, the exception will be thrown up to the container.

Specified by:
getErrorHandler in interface Configuration

getFunctionMapper

public org.zkoss.xel.FunctionMapper getFunctionMapper()
Description copied from interface: Configuration
Returns the function mapper defined in the configuration, or null if not available.

Specified by:
getFunctionMapper in interface Configuration

getVariableResolver

public org.zkoss.xel.VariableResolver getVariableResolver()
Description copied from interface: Configuration
Returns the variable resolver defined in the configuration, or null if not available.

Specified by:
getVariableResolver in interface Configuration


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