shohaku.shoin.factory
クラス ClassBindXMLProperties

java.lang.Object
  拡張shohaku.shoin.factory.AbstractResourceSetFactory
      拡張shohaku.shoin.factory.AbstractIOResourceSetFactory
          拡張shohaku.shoin.factory.AbstractGinkgoResourceSetFactory
              拡張shohaku.shoin.factory.ClassBindXMLProperties
すべての実装インタフェース:
GinkgoResourceSetFactory, IOResourceSetFactory, ResourceKeyPrefixSupport, ResourceSetFactory

public class ClassBindXMLProperties
extends AbstractGinkgoResourceSetFactory
implements ResourceKeyPrefixSupport

クラスと1対1で対応付けられたXMLファイルから、’/’ で区切られた階層名を持つプロパティセットを生成するファクトリを提供します。


コンストラクタの概要
ClassBindXMLProperties()
          プロパティを初期値で初期化します。
 
メソッドの概要
 java.lang.String getPrefix()
          全てのリソースに対する接頭辞を返却します。
 java.lang.String[] getSourcesPrefix()
          リソース単位での接頭辞の配列を返却します。
protected  void initValues(java.util.Map lookup, shohaku.ginkgo.TagNode root, int index)
          リソースの初期化および登録します。
 void setPrefix(java.lang.String prefix)
          全てのリソースに対する接頭辞を格納します。
 void setSourcesPrefix(java.lang.String[] prefixs)
          リソース単位での接頭辞の配列を格納します。
 
クラス shohaku.shoin.factory.AbstractGinkgoResourceSetFactory から継承したメソッド
findClassLoader, getClassLoader, getDefaultNodeCompositeRule, getDocumentCompositeRule, getNodeCompositeRule, getParentDocument, getParseDocument, getResourceSet, load, load, newResourceSetMap, newResourceSetObject, setClassLoader, setDocumentCompositeRule, setNodeCompositeRule, setParentDocument, setParseDocument
 
クラス shohaku.shoin.factory.AbstractIOResourceSetFactory から継承したメソッド
getIOResources, setIOResources
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース shohaku.shoin.IOResourceSetFactory から継承したメソッド
getIOResources, setIOResources
 

コンストラクタの詳細

ClassBindXMLProperties

public ClassBindXMLProperties()
プロパティを初期値で初期化します。

メソッドの詳細

initValues

protected void initValues(java.util.Map lookup,
                          shohaku.ginkgo.TagNode root,
                          int index)
クラス AbstractGinkgoResourceSetFactory の記述:
リソースの初期化および登録します。

定義:
クラス AbstractGinkgoResourceSetFactory 内の initValues
パラメータ:
lookup - リソースを格納するマップ
root - ルートタグ
index - IOリソースのインデックス

getPrefix

public java.lang.String getPrefix()
インタフェース ResourceKeyPrefixSupport の記述:
全てのリソースに対する接頭辞を返却します。

定義:
インタフェース ResourceKeyPrefixSupport 内の getPrefix
戻り値:
全てのリソースに対する接頭辞

setPrefix

public void setPrefix(java.lang.String prefix)
インタフェース ResourceKeyPrefixSupport の記述:
全てのリソースに対する接頭辞を格納します。

定義:
インタフェース ResourceKeyPrefixSupport 内の setPrefix
パラメータ:
prefix - 全てのリソースに対する接頭辞

getSourcesPrefix

public java.lang.String[] getSourcesPrefix()
インタフェース ResourceKeyPrefixSupport の記述:
リソース単位での接頭辞の配列を返却します。

定義:
インタフェース ResourceKeyPrefixSupport 内の getSourcesPrefix
戻り値:
リソース単位での接頭辞の配列

setSourcesPrefix

public void setSourcesPrefix(java.lang.String[] prefixs)
インタフェース ResourceKeyPrefixSupport の記述:
リソース単位での接頭辞の配列を格納します。

定義:
インタフェース ResourceKeyPrefixSupport 内の setSourcesPrefix
パラメータ:
prefixs - リソース単位での接頭辞の配列