|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.uruma.rcp.configuration.writer.GenericConfigurationWriter
public class GenericConfigurationWriter
汎用的な ConfigurationWriter です。
| フィールドの概要 |
|---|
| コンストラクタの概要 | |
|---|---|
GenericConfigurationWriter(Class<? extends ConfigurationElement> supportType)
GenericConfigurationWriter を構築します。 |
|
GenericConfigurationWriter(Class<? extends ConfigurationElement> supportType,
String elementName,
boolean startTagOnly)
GenericConfigurationWriter を構築します。 |
|
| メソッドの概要 | |
|---|---|
protected String |
createIndent(int level)
|
protected void |
escapeChars(String str,
Writer writer)
|
Class<? extends ConfigurationElement> |
getSupportType()
ConfigurationWriter がサポートする ConfigurationElement
のクラスオブジェクトを返します。 |
void |
writeEndTag(ConfigurationElement element,
Writer writer)
終了タグを出力します。 |
void |
writeEndTag(ConfigurationElement element,
Writer writer,
int level)
インデント付きで終了タグを出力します。 |
void |
writeStartTag(ConfigurationElement element,
Writer writer)
開始タグを出力します。 |
void |
writeStartTag(ConfigurationElement element,
Writer writer,
int level)
インデント付きで開始タグを出力します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public GenericConfigurationWriter(Class<? extends ConfigurationElement> supportType)
GenericConfigurationWriter を構築します。
supportType - 対応する ConfigurationElement の型
public GenericConfigurationWriter(Class<? extends ConfigurationElement> supportType,
String elementName,
boolean startTagOnly)
GenericConfigurationWriter を構築します。
supportType - 対応する ConfigurationElement の型elementName - 要素名startTagOnly - true の場合、開始タグのみを出力する| メソッドの詳細 |
|---|
public Class<? extends ConfigurationElement> getSupportType()
ConfigurationWriter の記述: ConfigurationWriter がサポートする ConfigurationElement
のクラスオブジェクトを返します。
ConfigurationWriter 内の getSupportTypeConfigurationElement サブクラスの Class オブジェクト
public void writeStartTag(ConfigurationElement element,
Writer writer)
ConfigurationWriter の記述:
ConfigurationWriter 内の writeStartTagelement - 要素名writer - 出力先 Writer オブジェクト
public void writeStartTag(ConfigurationElement element,
Writer writer,
int level)
ConfigurationWriter の記述:
ConfigurationWriter 内の writeStartTagelement - 要素名writer - 出力先 Writer オブジェクトlevel - インデントレベル
public void writeEndTag(ConfigurationElement element,
Writer writer)
ConfigurationWriter の記述:
ConfigurationWriter 内の writeEndTagelement - 要素名writer - 出力先 Writer オブジェクト
public void writeEndTag(ConfigurationElement element,
Writer writer,
int level)
ConfigurationWriter の記述:
ConfigurationWriter 内の writeEndTagelement - 要素名writer - 出力先 Writer オブジェクトlevel - インデントレベル
protected void escapeChars(String str,
Writer writer)
throws IOException
IOExceptionprotected String createIndent(int level)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||