Examples of outputTo()


Examples of org.apache.axis2.jaxws.message.util.Reader2Writer.outputTo()

     * @throws XMLStreamException
     */
    protected void _outputFromReader(XMLStreamReader reader, XMLStreamWriter writer)
            throws XMLStreamException {
        Reader2Writer r2w = new Reader2Writer(reader);
        r2w.outputTo(writer);
    }

    /**
     * Output BusinessObject contents to a Writer.
     * Derived classes must provide this implementation
View Full Code Here

Examples of org.apache.axis2.jaxws.message.util.Reader2Writer.outputTo()

    // Pipe the splitter to the writer.  This should generated only the
    // first element tree.
    StringWriter sw = new StringWriter();
    XMLStreamWriter writer = outputFactory.createXMLStreamWriter(sw);
    Reader2Writer r2w = new Reader2Writer(splitter);
    r2w.outputTo(writer);
    writer.flush();
    sw.flush();
    String tree1 = sw.toString();
   
    // Now get the next Stream
View Full Code Here

Examples of org.apache.axis2.jaxws.message.util.Reader2Writer.outputTo()

    // Now get the next Stream
    XMLStreamReader stream2 = splitter.getNextReader();
    r2w = new Reader2Writer(stream2);
    sw = new StringWriter();
    writer = outputFactory.createXMLStreamWriter(sw);
    r2w.outputTo(writer);
    writer.flush();
    sw.flush();
    String tree2 = sw.toString();
   
    // Do assertion checks
View Full Code Here

Examples of org.graphstream.ui.swingViewer.util.Graphics2DOutput.outputTo()

            Graphics2D g2 = out.getGraphics();
            render(g2, (int) camera.getMetrics().viewport[0],
                (int) camera.getMetrics().viewport[1],
                (int) camera.getMetrics().viewport[2],
                (int) camera.getMetrics().viewport[3]);
            out.outputTo(filename);
          } else {
                        logger.warning(String.format("Plugin %s is not an instance of Graphics2DOutput (%s).", plugin, o.getClass().getName()));
          }
        } catch (Exception e) {
                    logger.log(Level.WARNING, "Unexpected error during screen shot.", e);
View Full Code Here

Examples of org.renjin.packaging.LazyLoadFrameBuilder.outputTo()

  private void serializeEnvironment(Context context, Environment namespaceEnv, File environmentFile) {
   
    System.out.println("Writing namespace environment to " + environmentFile);
    try {
      LazyLoadFrameBuilder builder = new LazyLoadFrameBuilder(context);
      builder.outputTo(environmentFile.getParentFile());
      builder.build(namespaceEnv);
    } catch(IOException e) {
      throw new RuntimeException("Exception encountered serializing namespace environment", 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.