Segment seg=text.getSegment();
CROM flat_node=new CROM(root, true, seg.getName(), -1, CromType.CROM_t_Text);
flat_node.addType(CROM.CROM_t_Collection);
if(text.getDelimiter()!=null || text.getStringQualifier()!=null){
CROM_ext ext=flat_node.getExtension();
if(ext==null)ext=new CROM_Text();
if(text.getDelimiter()!=null)ext.setDelimiter(Utils.getDelimiterString(text));
ext.setStrQual(text.getStringQualifier());
}
for(Field f:text.getSegment().fieldList){
CROM field=new CROM(flat_node, false, f.fieldName, -1, CromType.CROM_t_Text);