org.seasar.framework.container.autoregister
クラス AbstractAutoNaming

java.lang.Object
  拡張org.seasar.framework.container.autoregister.AbstractAutoNaming
すべての実装インタフェース:
AutoNaming
直系の既知のサブクラス:
DefaultAutoNaming, QualifiedAutoNaming

public abstract class AbstractAutoNaming
extends Object
implements AutoNaming

作成者:
koichik

フィールドの概要
protected static String BEAN
           
protected  Map customizedNames
           
protected  boolean decapitalize
           
protected static String IMPL
           
protected  Map replaceRules
           
 
コンストラクタの概要
AbstractAutoNaming()
           
 
メソッドの概要
 void addIgnoreClassSuffix(String classSuffix)
           
 void addReplaceRule(String regex, String replacement)
           
protected  String applyRule(String name)
           
 void clearReplaceRule()
           
 String defineName(String packageName, String shortClassName)
           
protected  String getCustomizedName(String packageName, String shortClassName)
           
protected abstract  String makeDefineName(String packageName, String shortClassName)
           
protected  String normalize(String name)
           
 void setCustomizedName(String fqcn, String name)
           
 void setDecapitalize(boolean decapitalize)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

IMPL

protected static final String IMPL
関連項目:
定数フィールド値

BEAN

protected static final String BEAN
関連項目:
定数フィールド値

decapitalize

protected boolean decapitalize

customizedNames

protected Map customizedNames

replaceRules

protected Map replaceRules
コンストラクタの詳細

AbstractAutoNaming

public AbstractAutoNaming()
メソッドの詳細

setCustomizedName

public void setCustomizedName(String fqcn,
                              String name)

addIgnoreClassSuffix

public void addIgnoreClassSuffix(String classSuffix)

addReplaceRule

public void addReplaceRule(String regex,
                           String replacement)

clearReplaceRule

public void clearReplaceRule()

setDecapitalize

public void setDecapitalize(boolean decapitalize)

defineName

public String defineName(String packageName,
                         String shortClassName)
定義:
インタフェース AutoNaming 内の defineName

getCustomizedName

protected String getCustomizedName(String packageName,
                                   String shortClassName)

makeDefineName

protected abstract String makeDefineName(String packageName,
                                         String shortClassName)

applyRule

protected String applyRule(String name)

normalize

protected String normalize(String name)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.