01: /**
02: * Copyright (c) 2004-2005 jManage.org
03: *
04: * This is a free software; you can redistribute it and/or
05: * modify it under the terms of the license at
06: * http://www.jmanage.org.
07: *
08: * Unless required by applicable law or agreed to in writing, software
09: * distributed under the License is distributed on an "AS IS" BASIS,
10: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11: * See the License for the specific language governing permissions and
12: * limitations under the License.
13: */package org.jmanage.testapp.mbeans;
14:
15: /**
16: *
17: * <p>
18: * Date: Aug 31, 2005
19: * @author Rakesh Kalra
20: */
21: public interface DataFormatMBean {
22:
23: /* XML */
24:
25: // test get and set
26: public String getXML();
27:
28: public void setXML(String xml);
29:
30: // test read only attribute
31: public String getXMLData();
32:
33: // test operation
34: public String retrieveXMLData();
35:
36: /* HTML */
37:
38: // test get and set
39: public String getHTML();
40:
41: public void setHTML(String html);
42:
43: // test read only attribute
44: public String getHTMLData();
45:
46: // test operation
47: public String retrieveHTMLData();
48: }
|