Examples of WSDLElement


Examples of org.apache.woden.wsdl20.xml.WSDLElement

     * @return a String array containing the targetNamespace and prefix of the DescriptionElement
     *         that is the root element of wElem
     */
    static String[] getTargetNamespaceAndPrefix(WSDLElement wElem) {
        if (wElem instanceof NestedElement) {
            WSDLElement parent = ((NestedElement) wElem).getParentElement();
            return getTargetNamespaceAndPrefix(parent);
        }
       
        //We have a description element
        DescriptionElement desc = ((DescriptionElement) wElem);
View Full Code Here

Examples of org.apache.woden.wsdl20.xml.WSDLElement

        {
            return (DescriptionElement) ((NestedElement)wsdlElem).getParentElement();
        }
        else
        {
            WSDLElement parentElem = ((NestedElement)wsdlElem).getParentElement();
            return getDescriptionElement(parentElem);
        }
    }
View Full Code Here

Examples of org.apache.woden.wsdl20.xml.WSDLElement

        {
            return (DescriptionElement) ((NestedElement)wsdlElem).getParentElement();
        }
        else
        {
            WSDLElement parentElem = ((NestedElement)wsdlElem).getParentElement();
            return getDescriptionElement(parentElem);
        }
    }
View Full Code Here

Examples of org.apache.woden.wsdl20.xml.WSDLElement

        return getWsdlContext(this);
    }
   
    static private WSDLContext getWsdlContext(WSDLElement wElem) {
        if (wElem instanceof NestedElement) {
            WSDLElement parent = ((NestedElement) wElem).getParentElement();
            return getWsdlContext(parent);
        }
       
        //This is not a nested element, so the WSDL context is in this element, at the top of the tree.
        //This element will override the getWsdlContext() method defined in WSDLElementImpl.
View Full Code Here

Examples of org.apache.woden.wsdl20.xml.WSDLElement

        {
            return (DescriptionElement) ((NestedElement)wsdlElem).getParentElement();
        }
        else
        {
            WSDLElement parentElem = ((NestedElement)wsdlElem).getParentElement();
            return getDescriptionElement(parentElem);
        }
    }
View Full Code Here

Examples of org.apache.woden.wsdl20.xml.WSDLElement

     * @return a String array containing the targetNamespace and prefix of the DescriptionElement
     *         that is the root element of wElem
     */
    static String[] getTargetNamespaceAndPrefix(WSDLElement wElem) {
        if (wElem instanceof NestedElement) {
            WSDLElement parent = ((NestedElement) wElem).getParentElement();
            return getTargetNamespaceAndPrefix(parent);
        }
       
        //We have a description element
        DescriptionElement desc = ((DescriptionElement) wElem);
View Full Code Here

Examples of org.eclipse.wst.wsdl.WSDLElement

          }
          case Notification.ADD_MANY:
          {
            for (Iterator newValues = ((Collection)newValue).iterator(); newValues.hasNext();)
            {
              WSDLElement wsdlElement = (WSDLElement)newValues.next();
              adoptContent(eReference, wsdlElement);
            }
            break;
          }
          case Notification.REMOVE:
View Full Code Here

Examples of org.eclipse.wst.wsdl.WSDLElement

    if (!isReconciling)
    {
      Element parent = getElement();
      if (parent != null && obj != null && obj instanceof WSDLElement)
      {
        WSDLElement wsdlElement = (WSDLElement)obj;
        Element contentElement = wsdlElement.getElement();
        if (contentElement != null)
          niceRemoveChild(contentElement.getParentNode(), contentElement);
      }
      else
        ;//System.out.println("WSDLElement.orphanContent(), Object is: " + obj);
View Full Code Here

Examples of org.eclipse.wst.wsdl.WSDLElement

  protected void adoptContent(EReference eReference, Object object)
  {
    if (object instanceof WSDLElement)
    {
      WSDLElement wsdlElement = (WSDLElement)object;
      if (isReconciling)
      {
        if (wsdlElement.getElement() != null)
        {
          ((WSDLElementImpl)wsdlElement).elementChanged(wsdlElement.getElement());
        }
      }
      else
      {
        Element childElement = wsdlElement.getElement();
        if (getElement() != null && (childElement == null || childElement.getParentNode() == null))
        {
          if (childElement != null && childElement.getOwnerDocument() != getElement().getOwnerDocument())
          {
            wsdlElement.setElement(null);
            childElement = null;
          }

          handleElementForAdopt(eReference, wsdlElement);
          ((WSDLElementImpl)wsdlElement).updateElement();
View Full Code Here

Examples of org.eclipse.wst.wsdl.WSDLElement

      {
        //System.out.println("**** changeFor " + eClass().getName());
        isReconciling = true;
        reconcile(changedElement);

        WSDLElement theContainer = getContainer();
        if (theContainer != null && theContainer.getElement() == changedElement)
        {
          ((WSDLElementImpl)theContainer).elementChanged(changedElement);
        }

        isReconciling = false;
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.