Package org.eclipse.wst.wsdl

Examples of org.eclipse.wst.wsdl.ExtensibilityElement


    List values = new ArrayList();
    Iterator eeElementsIt = eeList.iterator();

    while (eeElementsIt.hasNext())
    {
      ExtensibilityElement eeElement = (ExtensibilityElement)eeElementsIt.next();
      String attributeValue = eeElement.getElement().getAttribute(attributeKey);
      if (attributeValue != null && !attributeValue.equals(""))
      {
        values.add(attributeValue);
      }
    }
View Full Code Here


    setElement(newElement);

    Iterator iterator = getExtensibilityElements().iterator();
    while (iterator.hasNext())
    {
      ExtensibilityElement extensibilityElement = (ExtensibilityElement)iterator.next();
      Element child = ((ExtensibilityElementImpl)extensibilityElement).createElement();
      newElement.appendChild(child);
    }

    iterator = getEPorts().iterator();
View Full Code Here

      if (types != null)
      {
        XSDSchemaExtensibilityElement el = null;
        for (Iterator j = types.getEExtensibilityElements().iterator(); j.hasNext();)
        {
          ExtensibilityElement extensibilityElement = (ExtensibilityElement)j.next();
          if (!(extensibilityElement instanceof XSDSchemaExtensibilityElement))
          {
            continue;
          }
         
View Full Code Here

  public List getSchemas()
  {
    List arrayList = new ArrayList();
    for (Iterator i = getEExtensibilityElements().iterator(); i.hasNext();)
    {
      ExtensibilityElement extensibilityElement = (ExtensibilityElement)i.next();
      if (!(extensibilityElement instanceof XSDSchemaExtensibilityElement))
      {
        continue;
      }
      XSDSchemaExtensibilityElement xsdee = (XSDSchemaExtensibilityElement)extensibilityElement;
View Full Code Here

    Iterator iter = getEExtensibilityElements().iterator();
    Element el = null;
    while (iter.hasNext())
    {
      ExtensibilityElement extensibility = (ExtensibilityElement)iter.next();
      el = extensibility.getElement();
      if (el != null)
      {
        try
        {
          Element reParented = (Element)document.importNode(el, true);
          extensibility.setElement(reParented); // replace with the new one
          newElement.appendChild(reParented);
        }
        catch (DOMException e)
        {
          e.printStackTrace();
View Full Code Here

    setElement(newElement);

    Iterator iterator = getExtensibilityElements().iterator();
    while (iterator.hasNext())
    {
      ExtensibilityElement extensibilityElement = (ExtensibilityElement)iterator.next();
      Element child = ((ExtensibilityElementImpl)extensibilityElement).createElement();
      newElement.appendChild(child);
    }
    return newElement;
  }
View Full Code Here

  //
  public void handleUnreconciledElement(Element child, Collection remainingModelObjects)
  {
    if (!WSDLConstants.isMatchingNamespace(child.getNamespaceURI(), WSDLConstants.WSDL_NAMESPACE_URI))
    {
      ExtensibilityElement extensibilityElement = useExtensionFactories()
        ? ((WSDLFactoryImpl)WSDLFactory.eINSTANCE).createExtensibilityElement(getNamespace(child), getLocalName(child))
        : ((WSDLFactoryImpl)WSDLFactory.eINSTANCE).createUnknownExtensibilityElement();

      extensibilityElement.setEnclosingDefinition(getEnclosingDefinition());
      extensibilityElement.setElement(child);
      getEExtensibilityElements().add(extensibilityElement);
    }
  }
View Full Code Here

    // Get BindingContent namespace
    String namespace = null;
    List eeList = binding.getEExtensibilityElements();
    if (eeList.size() > 0)
    {
      ExtensibilityElement ee = (ExtensibilityElement)eeList.get(0);
      // TODO: QName qName = ee.getElementType(); go get the namespace instead?
      namespace = ee.getElement().getNamespaceURI();
      return getContentGenerator(namespace);
    }

    return null;
  }
View Full Code Here

  public List getExtensibilityElementNodes(ExtensibleElement extensibleElement)
  {
    List childList = new ArrayList();
    for (Iterator i = extensibleElement.getEExtensibilityElements().iterator(); i.hasNext();)
    {
      ExtensibilityElement extensibilityElement = (ExtensibilityElement)i.next();
      if (extensibilityElement != null)
      {
        Element element = extensibilityElement.getElement();
        if (element != null)
        {
          childList.add(element);
        }
      }
View Full Code Here

    setElement(newElement);

    Iterator iterator = getExtensibilityElements().iterator();
    while (iterator.hasNext())
    {
      ExtensibilityElement extensibilityElement = (ExtensibilityElement)iterator.next();
      Element child = ((ExtensibilityElementImpl)extensibilityElement).createElement();
      newElement.appendChild(child);
    }

    BindingInput input = getEBindingInput();
View Full Code Here

TOP

Related Classes of org.eclipse.wst.wsdl.ExtensibilityElement

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.