feat2.config
クラス ViewConfig

java.lang.Object
  拡張feat2.config.Config
      拡張feat2.config.ViewConfig
すべての実装インタフェース:
DIComponentConfig, ValidatableComponentConfig

public class ViewConfig
extends Config
implements DIComponentConfig, ValidatableComponentConfig

ビューコンポーネントの設定。

作成者:
SUGIMOTO Ken-ichi

コンストラクタの概要
ViewConfig()
           
 
メソッドの概要
 void addInput(InputConfigBase input)
           
 void addValidation(ValidationConfig validation)
           
 JavaIdentifier getClassName()
           
 java.lang.String getElementName()
          設定ファイルの要素名を返す。
 Identifier getErrorResponse()
           
 InputConfigBase getInputConfig(java.lang.String propertyName)
           
 InputConfigBase[] getInputs()
           
 Identifier getName()
          設定ノードのインスタンスの名前を返す。
 java.lang.String getPropertyNameId(java.lang.String propertyName)
          プロパティの表示名のリソースIDを返す。
 ValidationConfig getValidationConfig(java.lang.String name)
           
 ValidationConfig[] getValidations()
           
 View getViewInstance()
           
 void setClassName(JavaIdentifier className)
           
 void setErrorResponse(Identifier errorResponse)
           
 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
 

コンストラクタの詳細

ViewConfig

public ViewConfig()
メソッドの詳細

getName

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

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

getClassName

public JavaIdentifier getClassName()

setClassName

public void setClassName(JavaIdentifier className)

getErrorResponse

public Identifier getErrorResponse()
定義:
インタフェース ValidatableComponentConfig 内の getErrorResponse

setErrorResponse

public void setErrorResponse(Identifier errorResponse)

getViewInstance

public View getViewInstance()

addInput

public void addInput(InputConfigBase input)
定義:
インタフェース DIComponentConfig 内の addInput

getInputs

public InputConfigBase[] getInputs()
定義:
インタフェース DIComponentConfig 内の getInputs

getInputConfig

public InputConfigBase getInputConfig(java.lang.String propertyName)
定義:
インタフェース DIComponentConfig 内の getInputConfig

addValidation

public void addValidation(ValidationConfig validation)
定義:
インタフェース ValidatableComponentConfig 内の addValidation

getValidations

public ValidationConfig[] getValidations()
定義:
インタフェース ValidatableComponentConfig 内の getValidations

getValidationConfig

public ValidationConfig getValidationConfig(java.lang.String name)
定義:
インタフェース ValidatableComponentConfig 内の getValidationConfig

getPropertyNameId

public java.lang.String getPropertyNameId(java.lang.String propertyName)
インタフェース ValidatableComponentConfig の記述:
プロパティの表示名のリソースIDを返す。

定義:
インタフェース ValidatableComponentConfig 内の getPropertyNameId
パラメータ:
propertyName -
戻り値:

getElementName

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

定義:
クラス Config 内の getElementName

validate

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