aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/servlet
Commit message (Collapse)AuthorAgeFilesLines
* Moved the I/O interfaces to XGC and updated code with new resolution mechanismMehdi Houshmand2012-09-191-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_XGC_URI_Resolution@1387645 13f79535-47bb-0310-9956-ffa450edef68
* Check style and find bugs now pass without errorsMehdi Houshmand2012-07-031-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1356755 13f79535-47bb-0310-9956-ffa450edef68
* Started unifying URI resolution mechanism, redesigned configuration system ↵Mehdi Houshmand2012-05-311-4/+22
| | | | | | and created flexible config testing git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1344594 13f79535-47bb-0310-9956-ffa450edef68
* add RegexpSingleline rule to flag use of @author; fix violationsGlenn Adams2012-03-052-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297284 13f79535-47bb-0310-9956-ffa450edef68
* enable ImportOrder rule; fix violationsGlenn Adams2012-03-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
* findbugs-reported bug squashing; 959 bugs left (findbugs 1.3.9)Simon Pepping2010-11-172-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036179 13f79535-47bb-0310-9956-ffa450edef68
* Removed code that doesn't have any effect.Jeremias Maerki2009-01-081-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@732631 13f79535-47bb-0310-9956-ffa450edef68
* Fed up with all those trailing whitespaces. Let's remove them all (once... ↵Vincent Hennebert2008-07-243-21/+21
| | | | | | and for all?) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
* * Javadoc update: use {@inheritDoc} instead of @see where applicable, ↵Andreas L. Delmelle2007-07-183-5/+4
| | | | | | | | | | removal of some @author tags * Additional code cleanup: removal of unused imports (mainly in the fo.flow package) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557337 13f79535-47bb-0310-9956-ffa450edef68
* Allow the file parameters to be resolved by the URIResolver.Jeremias Maerki2007-03-021-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@513845 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-283-15/+18
| | | | | | http://www.apache.org/legal/src-headers.html git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426576 13f79535-47bb-0310-9956-ffa450edef68
* Merged Temp_API_Finalization branch back into FOP Trunk:Jeremias Maerki2006-03-272-186/+82
| | | | | | | | | | | Finalized API according to the plan in the Wiki: http://wiki.apache.org/xmlgraphics-fop/ApiDesign In addition to that: Deprecated the rest of the Fop constructors. Refactored the FopServlet a bit to make it more versatile and still easy to understand. The FopPrintServlet is now a subclass of FopServlet. Some further cleanup on the way. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389086 13f79535-47bb-0310-9956-ffa450edef68
* Guard against NPEs when no base URI is given.Jeremias Maerki2006-03-261-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388927 13f79535-47bb-0310-9956-ffa450edef68
* No stacktrace when encountering problems while building a base URL. It's not ↵Jeremias Maerki2006-03-251-1/+10
| | | | | | | | | | necessary and draws too much attention. Instead added the URL to the log message that causes the problem. Don't validate Base URLs anymore in FOUserAgent because that produces errors (because an URL cannot be built) if a symbolic URI is used which is later resolved through a URIResolver. Improved support for relative URLs for accessing font resources. ServletContextURIResolver can now use a base URI that starts with "servlet-context:". git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388766 13f79535-47bb-0310-9956-ffa450edef68
* Added a convenience URIResolver that uses the ServletContext in a servlet to ↵Jeremias Maerki2006-02-223-4/+119
| | | | | | | | | access resources packed into a web application. The URIResolver listens to the "servlet-context:" protocol. Integrated the new URIResolver into out two servlets at all levels (TransformerFactory, Transformer and FOP). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@379810 13f79535-47bb-0310-9956-ffa450edef68
* Use memory-optimized ByteArrayOutputStream from Commons IO instead of the ↵Jeremias Maerki2005-11-121-1/+1
| | | | | | dumb implementation from the JDK. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332793 13f79535-47bb-0310-9956-ffa450edef68
* Deprecated constructors Fop(int) and Fop(int, FOUserAgent).Jeremias Maerki2005-11-122-7/+9
| | | | | | | | Deprecated Fop.getVersion() in favor for Version.getVersion(). Changed every place the newly deprecated methods were called. Ant task and TestConverter changed to fully use MIME types. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332791 13f79535-47bb-0310-9956-ffa450edef68
* Removed unneded import statements.Finn Bock2004-09-142-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197949 13f79535-47bb-0310-9956-ffa450edef68
* Combined the apps.Driver class into apps.Fop. (195 LOC total.) PrimaryGlen Mazza2004-07-242-9/+9
| | | | | | | | | | | | | | | | | | | benefit is to make Fop self-documenting in external code, also none of the API ideas called for retention of the Driver class (even if there were different ideas for its replacement). Let's try this for a few weeks, if it confuses people too much (or when the API starts to grow again) we can bring back Driver, possibly under a different name, apps.FopProcess, perhaps. See also: http://marc.theaimsgroup.com/?l=fop-dev&m=108947697611032&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108966015504506&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108942673103344&w=2 http://marc.theaimsgroup.com/?l=fop-dev&m=108958756030147&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197827 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved exclusively to Simon's DefaultHandler object for both TransformerGlen Mazza2004-07-192-3/+3
| | | | | | | | | | | | | | | | and SAXParser usage. DefaultHandler implements the ContentHandler interface so it can be used where the latter was previously used, also it provides more functionality. [1] 2.) Updated the examples and internal code accordingly. 3.) Renamed ExampleFO2PDFUsingSAX to ...Parser to avoid confusion (both use SAX.) [1] http://www.cafeconleche.org/books/xmljava/chapters/ch06s03.html#d0e8440 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197802 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Driver constructor modified to require RenderType, and setter functionsGlen Mazza2004-07-192-6/+3
| | | | | | | | | | | | | | | | for RenderType and FOUserAgent removed, to allow for better checking of a valid Driver object at time of construction. (Also, will reduce need to validate Driver object should it be a parameter to a method.) 2.) Added validity checking of renderType to FOTreeBuilder as well, in effect decoupling Driver from FOTreeBuilder (the latter can work on its own now.) 3.) Updated the various examples and the documentation to indicate the new API. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197801 13f79535-47bb-0310-9956-ffa450edef68
* Removed the Driver.run() method in favor of JAXP.Glen Mazza2004-07-141-4/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197790 13f79535-47bb-0310-9956-ffa450edef68
* Moved FOPPrintServlet from using XSLTInputHandler to JAXP.Glen Mazza2004-07-111-10/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197783 13f79535-47bb-0310-9956-ffa450edef68
* Made Driver.initialize() private, more in line with 0.20.5, which doesn'tGlen Mazza2004-07-091-1/+0
| | | | | | | have such a method. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197773 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved the CommandLineOptions' InputHandler object into FOUserAgent, allowingGlen Mazza2004-06-251-7/+2
| | | | | | | | | | | | | | | | for a no-parameter constructor for AWTRenderer (like the other renderers). (Code is not yet ideal in AWTRenderer, but will do the task.) 2.) AWT renderer handling now more similar to the other renderers (simplifications in Driver, Fop). 3.) Driver.getRenderer() removed from API. (Renderer configuration now mostly done through FOUserAgent, and setup of renderer prior to calling setRenderer().) 4.) Validity checking added to region-after, -start, -end, and -before. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197744 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Removed the get/setLogger methods from Driver, obsolete with ↵Glen Mazza2004-06-202-3/+0
| | | | | | | | | | Commons-Logging. 2.) Updated examples and documentation. 3.) Added a -v option to show version of FOP being used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197740 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2004-03-312-13/+16
| | | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Conversion of Avalon to Commons-Logger. (Will still need to update the examples, which I will take care of next; Jeremias will be modifying the PDF libraries for more efficient use of the CL loggers.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197474 13f79535-47bb-0310-9956-ffa450edef68
* Applied Apache License Version 2.0 by following the instructions at ↵Jeremias Maerki2004-02-272-96/+32
| | | | | | http://www.apache.org/dev/apply-license.html. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197384 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Deprecation of most constructors in XSLTInputHandler in favor of JAXP.Glen Mazza2004-02-101-1/+1
| | | | | | | | | | | 2.) Removal of unused transformer member variable in XSLTInputHandler. 3.) Partial modifications -- code from Xalan project -- in order to be able to handle command line parameters for XSLT stylesheet. (Changes still needed in XSLTInputHandler.getXMLFilter() -- unsure how to set parameters to an XMLFilter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197350 13f79535-47bb-0310-9956-ffa450edef68
* Organize imports. Joerg Pietschmann2003-09-191-9/+1
| | | | | | | A bit of JavaDoc cosmetics. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196923 13f79535-47bb-0310-9956-ffa450edef68
* PrinterJob setup and construction moved from Driver to AWTPrintRenderer ↵Glen Mazza2003-08-021-8/+2
| | | | | | class. AWTPrintRenderer now be instantiated without a PrinterJob object. (Pending: for embedded programming, may still wish to have a PrinterJob-based constructor for AWTPrintRenderer, or otherwise provide an accessor method to its PrinterJob object.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196770 13f79535-47bb-0310-9956-ffa450edef68
* Added new class render.awt.AWTPrintRenderer -- relocates PrintRenderer ↵Glen Mazza2003-07-101-89/+3
| | | | | | defined separately in PrintStarter and FopPrintServlet classes. Note: this renderer still not functional because parent class AWTRenderer is not finished in 1.0. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196684 13f79535-47bb-0310-9956-ffa450edef68
* Removed space before ';'Peter Bernard West2003-06-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196511 13f79535-47bb-0310-9956-ffa450edef68
* Revert refactoring of Driver to Session. Files affected should be identical ↵William Victor Mote2003-06-172-16/+16
| | | | | | to that which is two revisions earlier (e.g. if 1.3 is being checked in here, it should be identical to 1.1). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196504 13f79535-47bb-0310-9956-ffa450edef68
* 1. Copy apps.Driver to apps.Session.William Victor Mote2003-06-172-16/+16
| | | | | | | | | 2. Fix all references to use Session instead of Driver. 3. Keep contents of "Services" class, but remove the class definition itself so that it can be used by both Driver and Session. 4. Deprecate Driver. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196503 13f79535-47bb-0310-9956-ffa450edef68
* javadoc changes to clean up gump warnings.William Victor Mote2003-04-252-46/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196344 13f79535-47bb-0310-9956-ffa450edef68
* Moved sources from src/org/** to src/java/org/**Jeremias Maerki2003-03-113-0/+578
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196061 13f79535-47bb-0310-9956-ffa450edef68