Examples of NamespaceTable


Examples of com.eviware.soapui.impl.wsdl.actions.iface.tools.support.NamespaceTable

    advForm.addCheckBox( UNPACK, "(Unpacks the databinding classes)" );

    advForm.addTextField( SERVICE_NAME, "the service name to be code generated", XForm.FieldType.TEXT );
    advForm.addTextField( PORT_NAME, "the port name to be code generated", XForm.FieldType.TEXT );

    advForm.addComponent( NAMESPACE_MAPPING, new NamespaceTable( ( WsdlInterface )modelItem ) );

    XFormField adbWrapCB = advForm.addCheckBox( ADB_WRAP,
        "(Sets the packing flag. if true the classes will be packed.)" );
    XFormField adbWriteCB = advForm.addCheckBox( ADB_WRITE,
        "(Sets the write flag. If set to true the classes will be written by ADB)" );
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.actions.iface.tools.support.NamespaceTable

    return values;
  }

  public XFormField addNameSpaceTable( String label, Interface modelItem )
  {
    return addComponent( label, new NamespaceTable( ( WsdlInterface )modelItem ) );
  }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.actions.iface.tools.support.NamespaceTable

        return values;
    }

    public XFormField addNameSpaceTable(String label, Interface modelItem) {
        return addComponent(label, new NamespaceTable((WsdlInterface) modelItem));
    }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.actions.iface.tools.support.NamespaceTable

        advForm.addCheckBox(UNPACK, "(Unpacks the databinding classes)");

        advForm.addTextField(SERVICE_NAME, "the service name to be code generated", XForm.FieldType.TEXT);
        advForm.addTextField(PORT_NAME, "the port name to be code generated", XForm.FieldType.TEXT);

        advForm.addComponent(NAMESPACE_MAPPING, new NamespaceTable((WsdlInterface) modelItem));

        XFormField adbWrapCB = advForm.addCheckBox(ADB_WRAP,
                "(Sets the packing flag. if true the classes will be packed.)");
        XFormField adbWriteCB = advForm.addCheckBox(ADB_WRITE,
                "(Sets the write flag. If set to true the classes will be written by ADB)");
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceTable

          }
        }
                              
        // in this case we should consider all of the schema related to this document
        //
        NamespaceTable namespaceTable = new NamespaceTable(element.getOwnerDocument());
        namespaceTable.addElementLineage(element);
        List list = namespaceTable.getNamespaceInfoList();
        for (Iterator i = list.iterator(); i.hasNext();)
        {
          NamespaceInfo info = (NamespaceInfo)i.next();
          if (info.uri != null && !info.uri.equals(excludedURI))
          {
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceTable

    if (cmNode != null && cmNode.getNodeType() == CMNode.ATTRIBUTE_DECLARATION)
    {                        
      CMAttributeDeclaration ad = (CMAttributeDeclaration)cmNode;                             
      if (valueHelper.isXSIType(ad))
      {            
        NamespaceTable table = new NamespaceTable(element.getOwnerDocument());
        table.addElementLineage(element);
        list.addAll(valueHelper.getQualifiedXSITypes(ad, table));    
      }
    }
  }
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceTable

     
  public CMDocument getCMDocument(Element element, String uri)
  {
    CMDocument result = null;
    NamespaceTable namespaceTable = new NamespaceTable(element.getOwnerDocument());
    namespaceTable.addElementLineage(element);
    NamespaceInfo namespaceInfo = namespaceTable.getNamespaceInfoForURI(uri);
    if (namespaceInfo != null)
    {
      result = getCMDocument(namespaceInfo.uri, namespaceInfo.locationHint, "XSD"); //$NON-NLS-1$
    }
    return result;
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceTable

    }   
    else
   
      // here we use a namespaceTable to consider if the root element has any namespace information
      //
      NamespaceTable namespaceTable = new NamespaceTable(element.getOwnerDocument());
      List list = NamespaceTable.getElementLineage(element);
      Element rootElement = (Element)list.get(0);
      namespaceTable.addElement(rootElement);
        
      if (namespaceTable.isNamespaceEncountered())
      {                                        
        // we assume that this is an XMLSchema style namespace aware document
        result = getCMElementDeclaration(element, list, namespaceTable);
      }
      else
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceTable

      String uri = resolveGrammarURI(document, implicitDoctype[0], implicitDoctype[1]);
      result.add(new CMDocumentReferenceImpl(implicitDoctype[0], uri));
    }                             
    else
    {  
      NamespaceTable namespaceTable = new NamespaceTable(document);
      if (node.getNodeType() == Node.ELEMENT_NODE)
      {
        namespaceTable.addElement((Element)node);
      }                                    
      if (deep)
      {
        addChildElementsToNamespaceTable(node, namespaceTable);
      }
      List list = namespaceTable.getNamespaceInfoList();
      for (Iterator i = list.iterator(); i.hasNext();)
      {
        NamespaceInfo info = (NamespaceInfo) i.next();   
        String uri = resolveGrammarURI(document, info.uri, info.locationHint);
        result.add(new CMDocumentReferenceImpl(info.uri, uri));
View Full Code Here

Examples of org.eclipse.wst.xml.core.internal.contentmodel.util.NamespaceTable

          }
        }
                              
        // in this case we should consider all of the schema related to this document
        //
        NamespaceTable namespaceTable = new NamespaceTable(element.getOwnerDocument());
        namespaceTable.addElementLineage(element);
        List list = namespaceTable.getNamespaceInfoList();
        for (Iterator i = list.iterator(); i.hasNext();)
        {
          NamespaceInfo info = (NamespaceInfo)i.next();
          if (info.uri != null && !info.uri.equals(excludedURI))
          {
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.