KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jmanage > testapp > mbeans > DataFormatMBean


1 /**
2 * Copyright (c) 2004-2005 jManage.org
3 *
4 * This is a free software; you can redistribute it and/or
5 * modify it under the terms of the license at
6 * http://www.jmanage.org.
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * 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 */

14 package org.jmanage.testapp.mbeans;
15
16 /**
17  *
18  * <p>
19  * Date: Aug 31, 2005
20  * @author Rakesh Kalra
21  */

22 public interface DataFormatMBean {
23
24     /* XML */
25
26     // test get and set
27
public String JavaDoc getXML();
28     public void setXML(String JavaDoc xml);
29     // test read only attribute
30
public String JavaDoc getXMLData();
31     // test operation
32
public String JavaDoc retrieveXMLData();
33
34     /* HTML */
35
36     // test get and set
37
public String JavaDoc getHTML();
38     public void setHTML(String JavaDoc html);
39     // test read only attribute
40
public String JavaDoc getHTMLData();
41     // test operation
42
public String JavaDoc retrieveHTMLData();
43 }
44
Popular Tags