Examples of ModelInfo


Examples of com.sun.xml.rpc.spi.tools.ModelInfo

                    }
                }
            }

            if( codegenRequired ) {
                ModelInfo modelInfo = createModelInfo(serviceRef);

                /*
                 * If clients exist, force regeneration so that the
                 * ClientArtifactsManager is populated. Issue 10612.
                 */
 
View Full Code Here

Examples of com.sun.xml.rpc.spi.tools.ModelInfo

    }

    private ModelInfo createModelInfo(WebService webService)
            throws Exception {

        ModelInfo modelInfo = null;
        URL mappingFileUrl = webService.getMappingFile().toURL();
        modelInfo = createModelFileModelInfo(mappingFileUrl);
        if( isJaxrpcRIModelFile(mappingFileUrl) ) {
            debug("000. JaxrpcRIModelFile.");
            modelInfo = createModelFileModelInfo(mappingFileUrl);
View Full Code Here

Examples of com.sun.xml.rpc.spi.tools.ModelInfo

    }

    private ModelInfo createModelInfo(ServiceReferenceDescriptor serviceRef)
            throws Exception {

        ModelInfo modelInfo = null;
        URL mappingFileUrl = serviceRef.getMappingFile().toURL();
        if( isJaxrpcRIModelFile(mappingFileUrl) ) {
            modelInfo = createModelFileModelInfo(mappingFileUrl);
        } else {
            JaxrpcMappingDescriptor mappingDesc =
View Full Code Here

Examples of com.sun.xml.rpc.spi.tools.ModelInfo

                    "enterprise.webservice.jaxrpcFilesNotFound",
                    "Service {0} seems to be a JAXRPC based web service but without "+
                            "the mandatory WSDL and Mapping file. Deployment cannot proceed",
                    new Object[] {webService.getName()}));
        }
        ModelInfo modelInfo = createModelInfo(webService);
        String args[] = createJaxrpcCompileArgs(true, false);

        CompileTool wscompile =
                rpcFactory.createCompileTool(System.out, "wscompile");
        wscompileForWebServices = wscompile;
View Full Code Here

Examples of morph.client.model.ModelInfo

    for(Class clz : compatibleEntities)
    {
      try
      {
        RendererLivingEntity rend = (RendererLivingEntity)renders.get(clz);
        ModelList.addModelInfo(clz, new ModelInfo(clz, rend, rend.mainModel));
      }
      catch(Exception e)
      {
        ObfHelper.obfWarning();
        e.printStackTrace();
View Full Code Here

Examples of org.openfaces.component.chart.impl.ModelInfo

        GridPointInfo info = new GridPointInfoImpl();
        info.setSeries(new SeriesInfoImpl());
        info.getSeries().setIndex(en.getSeries());

        ModelInfo modelInfo = new ModelInfo(model);

        if (!modelInfo.isDataEmpty()) {
            CategoryDataset ds = ModelConverter.toCategoryDataset(modelInfo);
            Comparable seriesKey = ds.getRowKey(en.getSeries());
            Comparable tupleKey = ds.getColumnKey(en.getCategoryIndex());
            Object tupleValue = ds.getValue(seriesKey, tupleKey);
            info.setIndex(en.getCategoryIndex());
View Full Code Here

Examples of org.openfaces.component.chart.impl.ModelInfo

        GridPointInfo info = new GridPointInfoImpl();
        info.setSeries(new SeriesInfoImpl());
        info.getSeries().setIndex(en.getSeriesIndex());
        info.setIndex(en.getItem());
        ModelInfo modelInfo = new ModelInfo(model);
        if (!modelInfo.isDataEmpty()) {
            if (modelInfo.getModelType() == ModelType.Date) {
                TimeSeriesCollection ds = ModelConverter.toTimeSeriesCollection(chart, modelInfo);
                Comparable seriesKey = ds.getSeriesKey(en.getSeriesIndex());
                Number tupleKey = ds.getX(en.getSeriesIndex(), en.getItem());
                if (tupleKey instanceof Long) {
                    info.setKey(new Date(tupleKey.longValue()));
View Full Code Here

Examples of org.openfaces.component.chart.impl.ModelInfo

            GridPointInfo point = new GridPointInfoImpl();
            point.setSeries(new SeriesInfoImpl());

            Object key = xyDataset.getX(i, i1);

            ModelInfo info = view.getChart().getRenderHints().getModelInfo();

            if ((key instanceof Long) && info != null && info.getModelType() == ModelType.Date) {
                key = new Date((Long) key);
            }

            point.setKey(key);
            point.setValue(xyDataset.getY(i, i1));
View Full Code Here

Examples of org.openfaces.component.chart.impl.ModelInfo

    private JFreeChart getJFreeChart() {
        ChartRenderingInfo chartRenderingInfo = new ChartRenderingInfo();
        renderHints.setRenderingInfo(chartRenderingInfo);

        ChartModel model = getModel();
        ModelInfo info = new ModelInfo(model);
        renderHints.setModelInfo(info);

        Plot plot = PlotFactory.createPlot(this, info);

        return new JFreeChartAdapter(plot, this);
View Full Code Here

Examples of urban.model.info.ModelInfo

     
      StringWriter out = new StringWriter();
     
      out.write("graph G {\noverlap=false;\nratio=fill;\n");
     
      final ModelInfo modelInfo = new ModelInfo(m.getLines());
      for(Agent a : modelInfo.getAgents()){
        out.write(a.getName() + "[fontsize=24,width=1.6,height=1.6]\n");
        for(Site s : a.getSites()){
          if (s.getState() == null){
            out.write(s.getAgent() + " -- " + s.getQualifiedName() +" []\n");
            out.write(s.getQualifiedName() + "[label="+s.getName()+",fontsize=12,width=0.2,height=0.2]\n");
          }
          else {
            out.write(s.getAgent() + " -- " + s.getQualifiedName() +" []\n");
            out.write(s.getQualifiedName() + "[label=\""+s.getName()+"~"+s.getState()+"\",fillcolor=green, shape=triangle, style=filled,fontsize=12]\n");
          }
        }
      }
 
      for(Entry<String, Set<String>> b : modelInfo.getBindings().entrySet()){
        for (String s : b.getValue()){
          out.write(b.getKey() + "--" + s +"[color=black, dir=none, label=\":\", labelangle=45, labeldistance=1, labelfontsize=6, style=solid]\n");
        }
      }
     
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.