Package org.jitterbit.integration.data.structure

Examples of org.jitterbit.integration.data.structure.DataStructureType


        }
    }

    public static void saveOutputStructure(Transformation tf, DataStructure output, Persistor p) {
        if (isApplicable(output)) {
            DataStructureType type = output.getStructureType();
            Persistor root = p.createChild(OUTPUT);
            root.putString(TYPE, output.getStructureType().name());
            if (type.isTextBased()) {
                // Special case for TextStructures: We restore them directly from the TextDocument,
                // using the document ID
                root.putString(DOC_ID, tf.getTargetTextDocumentId().toString());
            } else if (type == DataStructureType.WebServiceRequest || type == DataStructureType.WebServiceResponse) {
                // Special case for WebServiceCalls: We restore them directly from the
View Full Code Here


        if (root == null) {
            // See comment in isApplicable() for an explanation
            return null;
        }
        DataStructure struct = null;
        DataStructureType type = DataStructureType.valueOf(root.getString(TYPE));
        switch (type) {
        case ComplexText:
        case Text:
            // Special case for TextStructures: They have already been fully restored as part of
            // the TextDocument they belong to. We can return here.
View Full Code Here

        if (root == null) {
            // See comment in isApplicable() for an explanation
            return null;
        }
        DataStructure struct = null;
        DataStructureType type = DataStructureType.valueOf(root.getString(TYPE));
        switch (type) {
        case ComplexText:
        case Text:
            // Special case for TextStructures: They have already been fully restored as part of
            // the TextDocument they belong to. We can return here.
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.structure.DataStructureType

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.