Package er.pdf.builder

Examples of er.pdf.builder.FOPBuilder


      logger.debug("xml2Fop2Pdf(String xml (length)=" + xml.length() + ", String fopxsl=" + fopxsl + ", NSDictionary<String,Object> config=" + config + ") - start"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
    }


    NSMutableDictionary<String, Object> _config = config == null ? new NSMutableDictionary<String, Object>() : config.mutableClone();
    FOPBuilder fopb = FOPBuilderFactory.newBuilder();
    ByteArrayOutputStream os = new ByteArrayOutputStream();
    try {
      fopb.setConfiguration(_config);
      fopb.setXML(xml);
      fopb.setXSL(fopxsl);
      fopb.createDocument(os);
      os.close();
      NSData returnNSData = new NSData(os.toByteArray());
      if (logger.isDebugEnabled()) {
        logger.debug("xml2Fop2Pdf(String, String, NSDictionary<String,Object>) - end - return value=" + returnNSData); //$NON-NLS-1$
      }
View Full Code Here

TOP

Related Classes of er.pdf.builder.FOPBuilder

Copyright © 2018 www.massapicom. 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.