Examples of startDocument()


Examples of org.jfree.layouting.layouter.feed.InputFeed.startDocument()

          throws DataSourceException, ReportProcessingException
  {
    try
    {
      final InputFeed feed = getInputFeed();
      feed.startDocument();
      feed.startMetaInfo();

      feed.addDocumentAttribute(DocumentContext.BASE_RESOURCE_ATTR, report.getBaseResource());
      feed.addDocumentAttribute(DocumentContext.RESOURCE_MANAGER_ATTR, report.getResourceManager());
View Full Code Here

Examples of org.jibx.runtime.IMarshallingContext.startDocument()

  @Override
  protected void marshalOutputStream(Object graph, OutputStream outputStream)
      throws XmlMappingException, IOException {
    try {
      IMarshallingContext marshallingContext = createMarshallingContext();
      marshallingContext.startDocument(this.encoding, this.standalone, outputStream);
      marshalDocument(marshallingContext, graph);
    }
    catch (JiBXException ex) {
      throw convertJibxException(ex, true);
    }
View Full Code Here

Examples of org.pdf4j.saxon.event.Receiver.startDocument()

        Receiver receiver = builder;
        PipelineConfiguration pipe = controller.makePipelineConfiguration();
        pipe.setHostLanguage(getContainer().getHostLanguage());
        receiver.setPipelineConfiguration(pipe);
        receiver.open();
        receiver.startDocument(0);
        c2.changeOutputDestination(null, receiver, false, getHostLanguage(), Validation.PRESERVE, null);
        content.process(c2);
        receiver.endDocument();
        receiver.close();
        DocumentInfo dtdRoot = (DocumentInfo)builder.getCurrentRoot();
View Full Code Here

Examples of org.pdf4j.saxon.event.SequenceReceiver.startDocument()

                validationAction,
                schemaType);
        SequenceReceiver out = c2.getReceiver();

        out.open();
        out.startDocument(0);
        content.process(c2);
        out.endDocument();
        out.close();
        if (resolver != null) {
            try {
View Full Code Here

Examples of org.pdf4j.saxon.event.TreeReceiver.startDocument()

            Receiver out = destination.getReceiver(config);
            out.setPipelineConfiguration(config.makePipelineConfiguration());
            out = new NamespaceReducer(out);
            TreeReceiver tree = new TreeReceiver(out);
            tree.open();
            tree.startDocument(0);
            for (Iterator<XdmItem> it = value.iterator(); it.hasNext();) {
                XdmItem item = it.next();
                tree.append((Item)item.getUnderlyingValue(), 0, NodeInfo.ALL_NAMESPACES);
            }
            tree.endDocument();
View Full Code Here

Examples of org.pdf4j.saxon.tree.TreeBuilder.startDocument()

            builder.setPipelineConfiguration(pss.getConfiguration().makePipelineConfiguration());
            builder.setNodeFactory(nodeFactory);
            builder.setSystemId(this.getSystemId());

            builder.open();
            builder.startDocument(0);

            int st = StandardNames.XSL_STYLESHEET;
            builder.startElement(st, StandardNames.XS_UNTYPED, 0, 0);
            builder.namespace(NamespaceConstant.XSLT_CODE, 0);
            builder.attribute(pool.allocate("", "", "version"), StandardNames.XS_UNTYPED_ATOMIC, version, 0, 0);
View Full Code Here

Examples of org.restlet.util.XmlWriter.startDocument()

     */
    public static void marshalDocument(Writer writer, String rootTag,
            Object content) throws IOException {
        XmlWriter xmlWriter = getXmlWriter(writer);
        try {
            xmlWriter.startDocument();
            marshal(xmlWriter, rootTag, content);
            xmlWriter.endDocument(); // calls flush()
        } catch (SAXException e) {
            if (e.getException() instanceof IOException) {
                // e.g. broken tcp connection
View Full Code Here

Examples of org.serviceconnector.util.XMLDumpWriter.startDocument()

        String dumpCacheFile = dumpDir + fs + dumpFileName;
        // create file
        FileOutputStream fos = new FileOutputStream(dumpDir + fs + dumpFileName);
        // create xml writer and start dump
        XMLDumpWriter writer = new XMLDumpWriter(fos);
        writer.startDocument();
        writer.writeStartElement("sc-dump");
        writer.writeComment(" *************** APPCONTEXT INFOS ************ ");
        AppContext.dumpAppContextInfos(writer);
        writer.writeComment(" *************** CONFIGURATION *************** ");
        AppContext.getBasicConfiguration().dump(writer);
 
View Full Code Here

Examples of org.syrup.helpers.XMLOutput.startDocument()

        SerializationHandler h = o.wrap(out);

        PTask p[] = sp.match(template);

        // Outputs the fetched PTasks to the OutputStream in XML format.
        o.startDocument("match", h);

        for (int i = 0; i < p.length; i++)
        {
            o.output(p[i], h);
        }
View Full Code Here

Examples of org.tmatesoft.svn.core.wc.xml.SVNXMLDirEntryHandler.startDocument()

        if (!getCommandLine().hasURLs() && !getCommandLine().hasPaths()) {
            getCommandLine().setPathAt(0, "");
        }
        if (handler != null) {
            if (!getCommandLine().hasArgument(SVNArgument.INCREMENTAL)) {
                handler.startDocument();
            }
        }
        for(int i = 0; i < getCommandLine().getURLCount(); i++) {
            String url = getCommandLine().getURL(i);
            if (handler != null) {
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.