br.ufg.integrate.xml.type
Class TypeCSVConf

java.lang.Object
  extended by br.ufg.integrate.xml.type.TypeCSVConf
All Implemented Interfaces:
TypeConf, Serializable

public class TypeCSVConf
extends Object
implements TypeConf, Serializable

Version:
0.1 Faz a conversão de tipos para os tipos XML Schema. Como arquivos CSV são sempre texto, só existe o tipo texto.
Author:
Rogerio
See Also:
Serialized Form

Constructor Summary
TypeCSVConf()
           
 
Method Summary
 List<Map<String,String>> getTypes(String configFile)
          Retorna uma coleção com apenas um elemento, mapeando de string (CSV só tem tipo texto) para string (tipo XML Schema).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeCSVConf

public TypeCSVConf()
Method Detail

getTypes

public List<Map<String,String>> getTypes(String configFile)
                                  throws XMLException
Retorna uma coleção com apenas um elemento, mapeando de string (CSV só tem tipo texto) para string (tipo XML Schema).

Specified by:
getTypes in interface TypeConf
Parameters:
configFile - Nome do arquivo de mapeamento de tipos.
Returns:
Coleção que contém o mapeamento entre os tipos, sendo a chave o tipo manipulado pela fonte de dados e o valor que corresponde entre os tipos definidos para XML Schema.
Throws:
XMLException


Copyright © 2008 Rogério Arantes Gaioso. All Rights Reserved.