KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > vaj > MockMethodBuilder


1 package com.mockobjects.vaj;
2
3 import com.ibm.ivj.util.base.*;
4 import com.ibm.ivj.util.builders.*;
5 import junit.framework.*;
6 import java.util.*;
7
8 import com.mockobjects.*;
9
10 public class MockMethodBuilder extends MockObject implements MethodBuilder {
11     private SourceVerifier mySourceVerifier;
12     private String JavaDoc myBuilderName;
13
14
15     public MockMethodBuilder(SourceVerifier verfier, String JavaDoc builderName) {
16         super();
17
18         mySourceVerifier = verfier;
19         myBuilderName = builderName;
20     }
21
22     /**
23      * addMethodBuilder method comment.
24      */

25     public void addMethodBuilder(MethodBuilder arg1) {}
26
27     /**
28      * checkMethodExists method comment.
29      */

30     public boolean checkMethodExists(MethodBuilder arg1) throws IvjException {
31         return false;
32     }
33
34     /**
35      * getBuilderName method comment.
36      */

37     public String JavaDoc getBuilderName() {
38         return myBuilderName;
39     }
40
41     /**
42      * getExistingMethods method comment.
43      */

44     public com.ibm.ivj.util.builders.MethodBuilder[] getExistingMethods() throws IvjException {
45         return null;
46     }
47
48     /**
49      * getExistingMethodSource method comment.
50      */

51     public String JavaDoc getExistingMethodSource(MethodBuilder arg1) throws IvjException {
52         return null;
53     }
54
55     /**
56      * getExistingSource method comment.
57      */

58     public String JavaDoc getExistingSource() throws IvjException {
59         return null;
60     }
61
62     /**
63      * getMethodBuilders method comment.
64      */

65     public java.util.Enumeration JavaDoc getMethodBuilders() {
66         return null;
67     }
68
69     /**
70      * getSource method comment.
71      */

72     public String JavaDoc getSource() {
73         return null;
74     }
75
76     /**
77      * isMarkedForDeletion method comment.
78      */

79     public boolean isMarkedForDeletion() {
80         return false;
81     }
82
83     /**
84      * markForDeletion method comment.
85      */

86     public void markForDeletion(boolean arg1) {}
87
88     /**
89      * removeAllMethodBuilders method comment.
90      */

91     public void removeAllMethodBuilders() {}
92
93     /**
94      * removeMethodBuilder method comment.
95      */

96     public void removeMethodBuilder(MethodBuilder arg1) {}
97
98     /**
99      * saveMerge method comment.
100      */

101     public void saveMerge() throws IvjException {}
102
103     /**
104      * setSource method comment.
105      */

106     public void setSource(String JavaDoc source) {
107         mySourceVerifier.setSource(myBuilderName,source);
108     }
109
110     /**
111      * verify method comment.
112      */

113     public void verify() {}
114 }
115
Popular Tags