Package org.eclipse.bpel.model

Examples of org.eclipse.bpel.model.Catch


        if (result == null) result = caseWSDLElement(link);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case BPELPackage.CATCH: {
        Catch catch_ = (Catch)theEObject;
        Object result = caseCatch(catch_);
        if (result == null) result = caseExtensibleElement(catch_);
        if (result == null) result = caseExtensibleElement_1(catch_);
        if (result == null) result = caseWSDLElement(catch_);
        if (result == null) result = defaultCase(theEObject);
View Full Code Here


  }

  protected void faultHandler2XML(Element parentElement, FaultHandler faultHandler) {
    Iterator catches = faultHandler.getCatch().iterator();
    while (catches.hasNext()) {
      Catch _catch = (Catch)catches.next();
      parentElement.appendChild(catch2XML(_catch));
    }
    if (faultHandler.getCatchAll() != null) {   
      parentElement.appendChild(catchAll2XML(faultHandler.getCatchAll()));
    }
View Full Code Here

      for (CtCatch cat : tryBlock.getCatchers()){
        scan(cat);
        ASTNodeData catchData = nodeDataStack.peek();
        if (catchData.activity != null){
          if (!catchData.isCatchAll){
            Catch c = BPELFactory.eINSTANCE.createCatch();
            if (catchData.variable != null)
              c.setFaultVariable(catchData.variable);
            if (catchData.xsdTypeQName != null)
              c.setFaultName(catchData.xsdTypeQName);
            c.setActivity(catchData.activity);
            tryScope.addCatch(c);
          } else {
            CatchAll call = BPELFactory.eINSTANCE.createCatchAll();
            call.setActivity(catchData.activity);
            tryScope.setCatchAll(call);
View Full Code Here

TOP

Related Classes of org.eclipse.bpel.model.Catch

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.