Examples of writeXml()


Examples of edu.umd.cs.findbugs.SortedBugCollection.writeXML()

            // we also know all the .java files in the directories we were pointed
            // to
        }

        if (argCount < args.length) {
            origCollection.writeXML(args[argCount++]);
        } else {
            origCollection.writeXML(System.out);
        }

    }
View Full Code Here

Examples of edu.umd.cs.findbugs.SortedBugCollection.writeXML()

        }

        if (argCount < args.length) {
            origCollection.writeXML(args[argCount++]);
        } else {
            origCollection.writeXML(System.out);
        }

    }

    static String fullPath(SourceLineAnnotation src) {
View Full Code Here

Examples of edu.umd.cs.findbugs.model.ClassFeatureSet.writeXML()

        // Class features
        xmlOutput.openTag("ClassFeatures");
        for (Iterator<ClassFeatureSet> i = classFeatureSetIterator(); i.hasNext();) {
            ClassFeatureSet classFeatureSet = i.next();
            classFeatureSet.writeXML(xmlOutput);
        }
        xmlOutput.closeTag("ClassFeatures");

        // AppVersions
        xmlOutput.openTag(HISTORY_ELEMENT_NAME);
View Full Code Here

Examples of jSimMacs.fileIO.writer.XML.IXMLWriter.writeXML()

  public void saveRemoteProject(ProjectLocation projectLocation) {
    if (projectLocation == ProjectLocation.SSH) {
      // RemoteProject remoteProject = (RemoteProject) project;
      IXMLWriter rProjectWriter = new RProjectSAXWriter(remoteProjects);
      try {
        rProjectWriter.writeXML(JSimConstants.REMOTEPROJECTFILE);
      } catch (Exception e) {
        JOptionPane.showMessageDialog(frame, e.getMessage(),
            "Remote error", JOptionPane.ERROR_MESSAGE);
        e.printStackTrace();
      }
View Full Code Here

Examples of jSimMacs.fileIO.writer.XML.ProjectSAXWriter.writeXML()

      type = findType(JSimConstants.EMPTYPROJECTSTRING);

      project.setType(type);
      IXMLWriter projectWriter = new ProjectSAXWriter(project);

      projectWriter.writeXML(projectFile.getPath());
    } catch (Exception e) {
      JOptionPane.showMessageDialog(frame, e.getMessage(),
          "Create error", JOptionPane.ERROR_MESSAGE);
      e.printStackTrace();
    }
View Full Code Here

Examples of jSimMacs.fileIO.writer.XML.ProjectSettingSAXWriter.writeXML()

              + "/" + JSimConstants.PROJECTCONFFILE);
      projectFile += JSimConstants.PROJECTCONFFILE;
    }
    IXMLWriter projectWriter = new ProjectSettingSAXWriter(project);
    try {
      projectWriter.writeXML(projectFile);
    } catch (Exception e) {
      JOptionPane.showMessageDialog(frame, e.getMessage(), "Save error",
          JOptionPane.ERROR_MESSAGE);
      e.printStackTrace();
    }
View Full Code Here

Examples of jSimMacs.fileIO.writer.XML.RProjectSAXWriter.writeXML()

  public void saveRemoteProject(ProjectLocation projectLocation) {
    if (projectLocation == ProjectLocation.SSH) {
      // RemoteProject remoteProject = (RemoteProject) project;
      IXMLWriter rProjectWriter = new RProjectSAXWriter(remoteProjects);
      try {
        rProjectWriter.writeXML(JSimConstants.REMOTEPROJECTFILE);
      } catch (Exception e) {
        JOptionPane.showMessageDialog(frame, e.getMessage(),
            "Remote error", JOptionPane.ERROR_MESSAGE);
        e.printStackTrace();
      }
View Full Code Here

Examples of javax.sql.rowset.WebRowSet.writeXml()

        WebRowSet webRs = newWebRowSet();
        Reader fileReader = new FileReader(XML_SRC_URL_INVALID_HEADER);
        webRs.readXml(fileReader);

        StringWriter strWriter = new StringWriter();
        webRs.writeXml(strWriter);
        assertFalse(-1 == strWriter.toString().indexOf(
                "http://java.sun.com/xml/ns/jdbc"));
        assertFalse(-1 == strWriter.toString().indexOf(
                "http://www.w3.org/2001/XMLSchema-instance"));
    }
View Full Code Here

Examples of net.jsunit.TestSuiteResult.writeXml()

        if (id == null) {
            xml = "<error>No id specified</error>";
        } else {
            TestSuiteResult result = server.findResultWithId(id);
            if (result != null)
                xml = result.writeXml();
            else
                xml = "<error>No Test Result has been submitted with id " + id + "</error>";
        }
        response.setContentType("text/xml");
        OutputStream out = response.getOutputStream();
View Full Code Here

Examples of net.sf.robocode.battle.snapshot.TurnSnapshot.writeXml()

                if (isbin) {
                  turn.stripDetails(options);
                  oos.writeObject(turn);
                } else if (isxml) {
                  turn.writeXml(xwr, options);
                }
              } catch (ClassNotFoundException e) {
                logError(e);
              }
            }
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.