instead of Avalon equivalent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197498 13f79535-47bb-0310-9956-ffa450edef68tags/Root_Temp_KnuthStylePageBreaking
@@ -33,9 +33,6 @@ import org.w3c.dom.Element; | |||
import org.w3c.dom.Node; | |||
import org.w3c.dom.Text; | |||
//Avalon | |||
import org.apache.avalon.framework.ExceptionUtil; | |||
// Commons-Logging | |||
import org.apache.commons.logging.impl.SimpleLog; | |||
@@ -141,8 +138,9 @@ public class ExampleDOM2PDF { | |||
app.convertDOM2PDF(foDoc, pdffile); | |||
System.out.println("Success!"); | |||
} catch (Exception e) { | |||
System.err.println(ExceptionUtil.printStackTrace(e)); | |||
e.printStackTrace(System.err); | |||
System.exit(-1); | |||
} | |||
} |
@@ -27,9 +27,6 @@ import java.io.OutputStream; | |||
//SAX | |||
import org.xml.sax.InputSource; | |||
//Avalon | |||
import org.apache.avalon.framework.ExceptionUtil; | |||
// Commons-Logging | |||
import org.apache.commons.logging.impl.SimpleLog; | |||
@@ -113,7 +110,7 @@ public class ExampleFO2PDF { | |||
System.out.println("Success!"); | |||
} catch (Exception e) { | |||
System.err.println(ExceptionUtil.printStackTrace(e)); | |||
e.printStackTrace(System.err); | |||
System.exit(-1); | |||
} | |||
} |
@@ -32,9 +32,6 @@ import javax.xml.transform.Result; | |||
import javax.xml.transform.stream.StreamSource; | |||
import javax.xml.transform.sax.SAXResult; | |||
//Avalon | |||
import org.apache.avalon.framework.ExceptionUtil; | |||
// Commons-Logging | |||
import org.apache.commons.logging.impl.SimpleLog; | |||
@@ -127,7 +124,7 @@ public class ExampleObj2PDF { | |||
System.out.println("Success!"); | |||
} catch (Exception e) { | |||
System.err.println(ExceptionUtil.printStackTrace(e)); | |||
e.printStackTrace(System.err); | |||
System.exit(-1); | |||
} | |||
} |
@@ -30,9 +30,6 @@ import javax.xml.transform.Source; | |||
import javax.xml.transform.Result; | |||
import javax.xml.transform.stream.StreamResult; | |||
//Avalon | |||
import org.apache.avalon.framework.ExceptionUtil; | |||
import embedding.model.ProjectMember; | |||
import embedding.model.ProjectTeam; | |||
@@ -118,7 +115,7 @@ public class ExampleObj2XML { | |||
System.out.println("Success!"); | |||
} catch (Exception e) { | |||
System.err.println(ExceptionUtil.printStackTrace(e)); | |||
e.printStackTrace(System.err); | |||
System.exit(-1); | |||
} | |||
} |
@@ -24,9 +24,6 @@ import java.io.IOException; | |||
import java.io.InputStream; | |||
import java.io.OutputStream; | |||
//Avalon | |||
import org.apache.avalon.framework.ExceptionUtil; | |||
//Batik | |||
import org.apache.batik.transcoder.Transcoder; | |||
import org.apache.batik.transcoder.TranscoderException; | |||
@@ -104,7 +101,7 @@ public class ExampleSVG2PDF { | |||
System.out.println("Success!"); | |||
} catch (Exception e) { | |||
System.err.println(ExceptionUtil.printStackTrace(e)); | |||
e.printStackTrace(System.err); | |||
System.exit(-1); | |||
} | |||
} |
@@ -32,9 +32,6 @@ import javax.xml.transform.Result; | |||
import javax.xml.transform.stream.StreamResult; | |||
import javax.xml.transform.stream.StreamSource; | |||
//Avalon | |||
import org.apache.avalon.framework.ExceptionUtil; | |||
/** | |||
* This class demonstrates the conversion of an XML file to an XSL-FO file | |||
* using JAXP (XSLT). | |||
@@ -103,7 +100,7 @@ public class ExampleXML2FO { | |||
System.out.println("Success!"); | |||
} catch (Exception e) { | |||
System.err.println(ExceptionUtil.printStackTrace(e)); | |||
e.printStackTrace(System.err); | |||
System.exit(-1); | |||
} | |||
} |
@@ -32,9 +32,6 @@ import javax.xml.transform.Result; | |||
import javax.xml.transform.stream.StreamSource; | |||
import javax.xml.transform.sax.SAXResult; | |||
//Avalon | |||
import org.apache.avalon.framework.ExceptionUtil; | |||
// Commons-Logging | |||
import org.apache.commons.logging.impl.SimpleLog; | |||
@@ -112,7 +109,7 @@ public class ExampleXML2PDF { | |||
System.out.println("Success!"); | |||
} catch (Exception e) { | |||
System.err.println(ExceptionUtil.printStackTrace(e)); | |||
e.printStackTrace(System.err); | |||
System.exit(-1); | |||
} | |||
} |