Package org.eclipse.bpel.model

Examples of org.eclipse.bpel.model.UnknownExtensibilityAttribute


        if (result == null) result = caseWSDLElement(variable);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case BPELPackage.UNKNOWN_EXTENSIBILITY_ATTRIBUTE: {
        UnknownExtensibilityAttribute unknownExtensibilityAttribute = (UnknownExtensibilityAttribute)theEObject;
        Object result = caseUnknownExtensibilityAttribute(unknownExtensibilityAttribute);
        if (result == null) result = caseUnknownExtensibilityElement(unknownExtensibilityAttribute);
        if (result == null) result = caseExtensibilityElement(unknownExtensibilityAttribute);
        if (result == null) result = caseWSDLElement(unknownExtensibilityAttribute);
        if (result == null) result = caseIExtensibilityElement(unknownExtensibilityAttribute);
View Full Code Here


public class BPELUnknownExtensionDeserializer extends UnknownExtensionDeserializer implements BPELExtensionDeserializer {

  public ExtensibilityElement unmarshall(Class parentType, QName elementType, Node node, Process process, Map nsMap, ExtensionRegistry extReg, URI uri) throws WSDLException {
    if (node instanceof Element) {     
      if (elementType.getLocalPart().equals("extensibilityAttributes")) {
        UnknownExtensibilityAttribute unknownExt = BPELFactory.eINSTANCE.createUnknownExtensibilityAttribute();
        String requiredStr = DOMUtils.getAttributeNS((Element)node, Constants.NS_URI_WSDL, Constants.ATTR_REQUIRED);
       
        unknownExt.setElementType(elementType);
       
        if (requiredStr != null) {
          unknownExt.setRequired(new Boolean(requiredStr));
        }
 
        unknownExt.setElement((Element)node);
       
        return unknownExt;
      } else {
        UnknownExtensibilityElement unknownExt = WSDLFactory.eINSTANCE.createUnknownExtensibilityElement();
        String requiredStr = DOMUtils.getAttributeNS((Element)node, Constants.NS_URI_WSDL, Constants.ATTR_REQUIRED);
       
        unknownExt.setElementType(elementType);
       
        if (requiredStr != null) {
          unknownExt.setRequired(new Boolean(requiredStr));
        }
 
        unknownExt.setElement((Element)node);
       
        return unknownExt;     
      }
    }
    return null;
View Full Code Here

TOP

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

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.