1
2 package org.apache.commons.jelly.tags.werkz;
3
4 import org.apache.commons.jelly.XMLOutput;
5
6 import org.xml.sax.SAXException;
7
8 import com.werken.werkz.Session;
9
10 public class JellySession extends Session
11 {
12 private XMLOutput out;
13
14 public JellySession(XMLOutput out)
15 {
16 this.out = out;
17 }
18
19 public void info(String message)
20 {
21 try
22 {
23 this.out.write( message + "\n" );
24 }
25 catch (SAXException e)
26 {
27 // ignore
28 }
29 }
30
31 public void warn(String message)
32 {
33 try
34 {
35 this.out.write( message + "\n" );
36 }
37 catch (SAXException e)
38 {
39 // ignore
40 }
41 }
42
43 public void error(String message)
44 {
45 try
46 {
47 this.out.write( message + "\n" );
48 }
49 catch (SAXException e)
50 {
51 // ignore
52 }
53 }
54 }
This page was automatically generated by Maven