Package nablarch.core.dataformat
Interface StructuredDataBuilder
- All Known Implementing Classes:
JsonDataBuilder,XmlDataBuilder
public interface StructuredDataBuilder
構造化データの構築を行うクラスが実装するインタフェース。
- Author:
- TIS
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuildData(Map<String, ?> map, LayoutDefinition layoutDef, OutputStream out) XML文字列を作成します。
-
Method Details
-
buildData
void buildData(Map<String, ?> map, LayoutDefinition layoutDef, OutputStream out) throws IOException, InvalidDataFormatExceptionXML文字列を作成します。- Parameters:
map- フラットマップlayoutDef- フォーマット定義out- 構造化データ出力先ストリーム- Throws:
IOException- 読み込みに伴うIO処理で問題が発生した場合InvalidDataFormatException- 読み込んだデータがフォーマット定義に違反している場合
-