kr.co.hit.live.web.mapper.element
Class Input

java.lang.Object
  extended by kr.co.hit.live.web.mapper.element.Input

public class Input
extends Object

Web Mapper 파일의 <input> 엘리먼트에 해당되는 클래스이다.

Since:
4.0
Author:
김형도

Constructor Summary
Input(String rowsep, String colsep, String type)
           
 
Method Summary
 void addTable(Table tbl)
           
 Map<String,Format> buildFormatMap()
          <input> 내에 정의된 <table>의 <column>들에 정의된 format 속성을 처리하기 위하여 사용할 Format 객체들을 생성한다.
 String getColumnSeperator()
           
 String getRowSeperator()
           
 Table getTable(int idx)
           
 int getTableCount()
           
 String getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Input

public Input(String rowsep,
             String colsep,
             String type)
Method Detail

addTable

public void addTable(Table tbl)

getColumnSeperator

public String getColumnSeperator()

getRowSeperator

public String getRowSeperator()

getType

public String getType()

getTableCount

public int getTableCount()

getTable

public Table getTable(int idx)

buildFormatMap

public Map<String,Format> buildFormatMap()
<input> 내에 정의된 <table>의 <column>들에 정의된 format 속성을 처리하기 위하여 사용할 Format 객체들을 생성한다. java.text.Format 객체들의 메소드들은 멀티쓰레드 환경에서 동기화되지 않으므로 여러 쓰레드가 동시에 호출할 수 없기 때문에 하나의 요청에 대하여 RequestReader에서 처리하기 위하여 독립적인 한 세트를 생성해놓고 사용해야한다.

Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.