feat2.config
クラス FeatureRootConfig

java.lang.Object
  拡張feat2.config.Config
      拡張feat2.config.FeatureRootConfig

public class FeatureRootConfig
extends Config

フィーチャー設定ファイルのルート。

作成者:
SUGIMOTO Ken-ichi

コンストラクタの概要
FeatureRootConfig()
           
 
メソッドの概要
 void addCommand(CommandConfig command)
           
 void addException(ExceptionConfig exception)
           
 void addIntercept(InterceptConfig intercept)
           
 void addResources(Resources resources)
           
 void addResponse(ResponseConfigBase response)
          forward, redirect, page, dataはここに追加。
 CommandConfig getCommandConfig(java.lang.String commandName)
           
 java.lang.Boolean getCreateSession()
           
 java.lang.String getElementName()
          設定ファイルの要素名を返す。
 java.lang.String getEncoding()
           
 ExceptionConfig getException(java.lang.Class exclass)
          指定の例外クラスをキャッチできる例外処理の設定オブジェクトを返す。
 InterceptConfig[] getInterceptConfigs()
           
 Identifier getName()
          設定ノードのインスタンスの名前を返す。
 JavaIdentifier getPackageName()
           
 Resources getResources()
           
 ResponseConfigBase getResponseConfig(java.lang.String name)
           
 java.lang.String getStringResource(java.lang.String resourceName, java.util.Locale locale)
           
 void setCreateSession(java.lang.Boolean createSesssion)
           
 void setEncoding(java.lang.String encoding)
           
 void setName(Identifier name)
           
 void setPackageName(JavaIdentifier packageName)
           
 boolean validate(FeatErrors errs)
           
 
クラス feat2.config.Config から継承したメソッド
getConfigPath, getFeatConfig, getFeatureConfig, getParent, setParent
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FeatureRootConfig

public FeatureRootConfig()
メソッドの詳細

getCreateSession

public java.lang.Boolean getCreateSession()

setCreateSession

public void setCreateSession(java.lang.Boolean createSesssion)

getEncoding

public java.lang.String getEncoding()

setEncoding

public void setEncoding(java.lang.String encoding)

getName

public Identifier getName()
クラス Config の記述:
設定ノードのインスタンスの名前を返す。

定義:
クラス Config 内の getName
戻り値:
名前が無い場合はnullを返す

setName

public void setName(Identifier name)

getPackageName

public JavaIdentifier getPackageName()

setPackageName

public void setPackageName(JavaIdentifier packageName)

addCommand

public void addCommand(CommandConfig command)

getCommandConfig

public CommandConfig getCommandConfig(java.lang.String commandName)

addResponse

public void addResponse(ResponseConfigBase response)
forward, redirect, page, dataはここに追加。


getResponseConfig

public ResponseConfigBase getResponseConfig(java.lang.String name)

addException

public void addException(ExceptionConfig exception)

getException

public ExceptionConfig getException(java.lang.Class exclass)
指定の例外クラスをキャッチできる例外処理の設定オブジェクトを返す。

パラメータ:
exclass -
戻り値:
見つからなければnullを返す

addIntercept

public void addIntercept(InterceptConfig intercept)

getInterceptConfigs

public InterceptConfig[] getInterceptConfigs()

addResources

public void addResources(Resources resources)

getStringResource

public java.lang.String getStringResource(java.lang.String resourceName,
                                          java.util.Locale locale)

getResources

public Resources getResources()

getElementName

public java.lang.String getElementName()
クラス Config の記述:
設定ファイルの要素名を返す。

定義:
クラス Config 内の getElementName

validate

public boolean validate(FeatErrors errs)
定義:
クラス Config 内の validate