Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/arranger/jarl/script/jarlsp/JarlSPBase.java


1   package com.arranger.jarl.script.jarlsp;
2   
3   import java.io.IOException;
4   import java.util.Map;
5   
6   /**
7    * ISPBase created on Jan 17, 2003
8    */
9   public interface JarlSPBase {
10  
11      /**
12       * Initialize this page
13       *
14       * @param runtime the runtime for this page
15       * @param properties any custom properties for this page
16       */
17      public void init(JarlSPRuntime runtime, Map properties);
18  
19      /**
20       * Render this page
21       *
22       * @throws Exception
23       */
24      public void execute() throws Exception;
25  
26      /**
27       * Prints the specified primitive.
28       *
29       * @param p Primitive to print
30       */
31      public void print(boolean p) throws IOException;
32  
33      /**
34       * Prints the specified primitive.
35       *
36       * @param p Primitive to print
37       */
38      public void print(byte p) throws IOException;
39  
40      /**
41       * Prints the specified primitive.
42       *
43       * @param p Primitive to print
44       */
45      public void print(char p) throws IOException;
46  
47      /**
48       * Prints the specified primitive.
49       *
50       * @param p Primitive to print
51       */
52      public void print(int p) throws IOException;
53  
54      /**
55       * Prints the specified primitive.
56       *
57       * @param p Primitive to print
58       */
59      public void print(long p) throws IOException;
60  
61      /**
62       * Prints the specified primitive.
63       *
64       * @param p Primitive to print
65       */
66      public void print(float p) throws IOException;
67  
68      /**
69       * Prints the specified primitive.
70       *
71       * @param p Primitive to print
72       */
73      public void print(double p) throws IOException;
74  
75      /**
76       * Prints the specified array.
77       *
78       * @param a Array to print
79       */
80      public void print(byte[] a) throws IOException;
81  
82      /**
83       * Prints the specified array.
84       *
85       * @param a Array to print
86       * @param start IndexTask of first item to print.
87       * @param length Length of items to print
88       */
89      public void print(byte[] a, int start, int length) throws IOException;
90  
91      /**
92       * Prints the specified array.
93       *
94       * @param a Array to print
95       */
96      public void print(char[] a) throws IOException;
97  
98      /**
99       * Prints the specified array.
100      *
101      * @param a Array to print
102      * @param start IndexTask of first item to print.
103      * @param length Length of items to print
104      */
105     public void print(char[] a, int start, int length) throws IOException;
106 
107     /**
108      * Prints the specified object.
109      *
110      * @param o Object to print
111      */
112     public void print(Object o) throws IOException;
113 
114     /**
115      * Prints the specified object.
116      *
117      * @param o Object to print
118      */
119     public void print(String o) throws IOException;
120 }