shohaku.composer
クラス NodeRule

java.lang.Object
  拡張shohaku.composer.NodeRule

public class NodeRule
extends java.lang.Object

個々のノードの構成ルールを表現する機能を提供します。


フィールドの概要
static NodeRule EMPTY_NODERULESET
          何も意味しない構成ルールを定義します。
 
コンストラクタの概要
NodeRule()
           
 
メソッドの概要
 shohaku.core.collections.Parameters getExAttributes()
          拡張属性のパラメータリストを返却します。
 java.lang.String getNodeClass()
          ノードのクラス名を返却します。
 java.lang.String getPattern()
          XML階層URIの書式パターンを返却します。
 Substitutor getSubstitutor()
          ノードの属性やテキスト文字列を代入するオブジェクトを返却します。
 void setExAttributes(shohaku.core.collections.Parameters exAttributes)
          拡張属性のパラメータリストを格納します。
 void setNodeClass(java.lang.String cname)
          ノードのクラス名を格納します。
 void setPattern(java.lang.String pattern)
          XML階層URIの書式パターンを格納します。
 void setSubstitutor(Substitutor substitutor)
          ノードの属性やテキスト文字列を代入するオブジェクトを格納します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

EMPTY_NODERULESET

public static final NodeRule EMPTY_NODERULESET
何も意味しない構成ルールを定義します。

コンストラクタの詳細

NodeRule

public NodeRule()
メソッドの詳細

getNodeClass

public java.lang.String getNodeClass()
ノードのクラス名を返却します。

戻り値:
ノードのクラス名

setNodeClass

public void setNodeClass(java.lang.String cname)
ノードのクラス名を格納します。

パラメータ:
cname - ノードのクラス名

getExAttributes

public shohaku.core.collections.Parameters getExAttributes()
拡張属性のパラメータリストを返却します。

戻り値:
拡張属性のパラメータリスト。

setExAttributes

public void setExAttributes(shohaku.core.collections.Parameters exAttributes)
拡張属性のパラメータリストを格納します。

パラメータ:
exAttributes - 拡張属性のパラメータリスト。

getPattern

public java.lang.String getPattern()
XML階層URIの書式パターンを返却します。

戻り値:
XML階層URIの書式パターン

setPattern

public void setPattern(java.lang.String pattern)
XML階層URIの書式パターンを格納します。

パラメータ:
pattern - XML階層URIの書式パターン

getSubstitutor

public Substitutor getSubstitutor()
ノードの属性やテキスト文字列を代入するオブジェクトを返却します。

戻り値:
Substitutor

setSubstitutor

public void setSubstitutor(Substitutor substitutor)
ノードの属性やテキスト文字列を代入するオブジェクトを格納します。

パラメータ:
substitutor - Substitutor