KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > net > jmx > adaptor > ObjectNameDeser


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 // $Id: ObjectNameDeser.java,v 1.4.8.1 2005/03/02 14:19:55 tdiesler Exp $
9

10 package org.jboss.net.jmx.adaptor;
11
12 import org.jboss.axis.encoding.ser.SimpleDeserializer;
13
14 import javax.management.ObjectName JavaDoc;
15 import javax.xml.namespace.QName JavaDoc;
16
17 /**
18  * @author <a HREF="mailto:a_taherkordi@users.sourceforge.net">Alireza Taherkordi</a>
19  * @version $Revision: 1.4.8.1 $
20  */

21
22 public class ObjectNameDeser extends SimpleDeserializer
23 {
24
25    public ObjectNameDeser(Class JavaDoc javaType, QName JavaDoc xmlType)
26    {
27       super(javaType, xmlType);
28    }
29
30    /* (non-Javadoc)
31     * @see org.jboss.axis.encoding.ser.SimpleDeserializer#makeValue(java.lang.String)
32     */

33    public Object JavaDoc makeValue(String JavaDoc arg0) throws Exception JavaDoc
34    {
35       return new ObjectName JavaDoc(arg0);
36    }
37
38 }
39
Popular Tags