Package org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.utils

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.utils.Node.expandNode()


                return null;
            }
        }
        while(tk.hasMoreTokens()&&parent!=null){
            String token=tk.nextToken();
            parent.expandNode();

            node=parent.findChildFolder(token);

            if(node!=null && node.isValueLeaf()){
                if(path.endsWith(CROM.PRECONDITION_TAG)){
View Full Code Here


                        throw new TreeMapperException("Find target data element failed, path="+path);
                    }

                }
                else {
                  parent.expandNode();
                }
                node=parent.findChildFolder(token);
            }
            parent=node;
        }
View Full Code Here

                node=parent.findChildFolder(token);
            }
            parent=node;
        }
        if(parent!=null){
            parent.expandNode();
            if(path.endsWith(CROM.PRECONDITION_TAG)){
                insertPreconditionNode(parent);
            }
        }
View Full Code Here

                return null;
            }
        }
        while(tk.hasMoreTokens()){
            String token=tk.nextToken();
            parent.expandNode();
            int k=token.indexOf('#');
            if(k>0)token=token.substring(0,k);
            node=parent.findChildFolder(token);
            // this is the case if the element node are omitted
            if(node !=null && node.isValueLeaf())return node;
View Full Code Here

                if(parent.isDerivedTypeHolder()||parent.isSubstitutionGroupHeader()){
                    // this could be a derived type or a substitution group
                    parent.expandHoldersTypeNode(token, token);
                }
                else {
                    parent.expandNode();
                }
                node=parent.findChildFolder(token);
            }
            if(node==null){
                throw new TreeMapperException("The source data element path="+path+" is invalid.");
View Full Code Here

            if(node==null){
                throw new TreeMapperException("The source data element path="+path+" is invalid.");
            }
            parent=node;
        }
        parent.expandNode();
        String path0=ScriptUtils.stripInstanceTag(path);
        if(!isLeaf&&path0.charAt(0)!='[')path0="["+path0+"]";
        return findNode(path0);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.