Package org.jitterbit.integration.structure.crom

Examples of org.jitterbit.integration.structure.crom.CROMHeader


          field.setDefaultValue(f.defaultValue);
          field.getExtension().setFormat(f.format);
          field.getExtension().setFieldPos((short)f.getBeginPosition());
          field.getExtension().setFieldLength((short)f.getLength());
        }
        MappingTreeStructure structure = new CromBasedMappingTreeStructure(root, new CROMHeader("Text"));
        if (callback != null) {
            callback.succeeded(structure);
        }
        return structure;
    }
View Full Code Here


                ext.setFieldPos((short)f.getBeginPosition());
                ext.setFieldLength((short)f.getLength());
              }
            }
        }
        MappingTreeStructure structure = new CromBasedMappingTreeStructure(root, new CROMHeader("Text"));
        if (callback != null) {
            callback.succeeded(structure);
        }
        return structure;
    }
View Full Code Here

                        table.setSqlFilter(sqlFilter);
                    }
                }
            }
        }
        return new CromBasedMappingTreeStructure(root, new CROMHeader(CROM_DB.ELEMENT, beginQuote, endQuote));
    }
View Full Code Here

            return nodes;
        }

        private String convertCromTreeToXml(CROM tree) throws IOException {
            StringWriter xml = new StringWriter();
            CromToMappingStructureWriter xmlWriter = new CromToMappingStructureWriter(tree, new CROMHeader("Ldap"));
            xmlWriter.writeXml(xml);
            return xml.getBuffer().toString();
        }
View Full Code Here

    private void writeJtrToOutput(Writer out) throws IOException {
        // when loading of jtr failed, due to jtr file missing, then m_CROM_Tree will be null
        assert (m_CROM_Tree != null) : "m_CROM_Tree should be defined already.";
        CROM root = m_CROM_Tree.getRoot();
        CromToMappingStructureWriter xmlWriter = new CromToMappingStructureWriter(root, new CROMHeader(
                        root.m_CromType.name)) {

            @Override
            public void writeAdditionalDetails(Writer writer) throws IOException {
                writeJmsProperties(writer);
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.structure.crom.CROMHeader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.