Package org.apache.ode.bpel.compiler.bom

Examples of org.apache.ode.bpel.compiler.bom.ExtensionAssignOperation


                } catch (CompilationException ce) {
                    _context.recoveredFromError(scopy, ce);
                }
            } else if (operation instanceof ExtensionAssignOperation) {
                ExtensionAssignOperation seaop = (ExtensionAssignOperation)operation;
                OAssign.ExtensionAssignOperation oext = new OAssign.ExtensionAssignOperation(_context.getOProcess());
            oext.debugInfo = new DebugInfo(_context.getSourceLocation(), seaop.getLineNo(), source.getExtensibilityElements());
            try {
              if (source.is20Draft()) {
                throw new CompilationException(__cmsgs.errExtensibleAssignNotSupported());
              }
              Element el = seaop.getNestedElement();
              if (el == null) {
                  throw new CompilationException(__cmsgs.errMissingExtensionAssignOperationElement().setSource(seaop));
              }
              if (!_context.isExtensionDeclared(el.getNamespaceURI())) {
                throw new CompilationException(__cmsgs.errUndeclaredExtensionAssignOperation().setSource(seaop));
View Full Code Here


                } catch (CompilationException ce) {
                    _context.recoveredFromError(scopy, ce);
                }
          } else if (operation instanceof ExtensionAssignOperation) {
            ExtensionAssignOperation sop = (ExtensionAssignOperation)operation;
            OAssign.ExtensionAssignOperation oext = new OAssign.ExtensionAssignOperation(_context.getOProcess());
            oext.debugInfo = new DebugInfo(_context.getSourceLocation(), sop.getLineNo(), source.getExtensibilityElements());
            try {
              if (source.is20Draft()) {
                throw new CompilationException(__cmsgs.errExtensibleAssignNotSupported());
              }
              Element el = sop.getNestedElement();
              if (el == null) {
                  throw new CompilationException(__cmsgs.errMissingExtensionAssignOperationElement().setSource(sop));
              }
              if (!_context.isExtensionDeclared(el.getNamespaceURI())) {
                throw new CompilationException(__cmsgs.errUndeclaredExtensionAssignOperation().setSource(sop));
View Full Code Here

TOP

Related Classes of org.apache.ode.bpel.compiler.bom.ExtensionAssignOperation

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.