KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jicengine > operation > EmptyOperation


1 package org.jicengine.operation;
2
3
4 /**
5  *
6  * <p>
7  * Copyright (C) 2004 Timo Laitinen
8  * </p>
9  * @author .timo
10  */

11
12 public class EmptyOperation implements Operation {
13
14     public static final EmptyOperation INSTANCE = new EmptyOperation();
15
16     public EmptyOperation()
17     {
18     }
19
20     public boolean needsParameters()
21     {
22         return false;
23     }
24
25     public boolean needsParameter(String JavaDoc name)
26     {
27         return false;
28     }
29
30     public Object JavaDoc execute(Context context) throws OperationException
31     {
32         return null;
33     }
34 }
35
Popular Tags