You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by Dave Brosius <db...@apache.org> on 2005/12/22 20:01:02 UTC
Re: [SPAM] New to BCEL - Please help
There is a tool in BCEL called BCELifier, which will show you the code to
generate a class, given that class.
That is an ideal way to learn how to do what you want.
----- Original Message -----
From: "chinmoy chakraborty" <ch...@rediffmail.com>
To: <bc...@jakarta.apache.org>
Sent: Wednesday, December 21, 2005 11:15 PM
Subject: [SPAM] New to BCEL - Please help
Hello,
I am new to BCEL nad still struggling to get used to it. Could you please
tell me where I can get some tutorial of BCEL. I have gone through the BCEL
Manual but I want something more. Could you please tell me what will be the
BCEL equivalent code for the following.
public class Num
{
private int num;
public int getNum()
{ return num;}
public void setNum(int num)
{ this.num = num;}
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Num.class);
public static org.apache.axis.encoding.Serializer getSerializer
(java.lang.String mechType,java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
{return new org.apache.axis.encoding.ser.BeanSerializer (_javaType,
_xmlType,typeDesc);
}
}
Thanks,
Chinmoy
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org
Re: [SPAM] New to BCEL - Please help
Posted by Simon Kitching <sk...@apache.org>.
On Thu, 2005-12-22 at 14:01 -0500, Dave Brosius wrote:
> There is a tool in BCEL called BCELifier, which will show you the code to
> generate a class, given that class.
>
> That is an ideal way to learn how to do what you want.
>
> ----- Original Message -----
> From: "chinmoy chakraborty" <ch...@rediffmail.com>
> To: <bc...@jakarta.apache.org>
> Sent: Wednesday, December 21, 2005 11:15 PM
> Subject: [SPAM] New to BCEL - Please help
>
>
>
> Hello,
>
> I am new to BCEL nad still struggling to get used to it. Could you please
> tell me where I can get some tutorial of BCEL. I have gone through the BCEL
> Manual but I want something more. Could you please tell me what will be the
> BCEL equivalent code for the following.
>
> public class Num
> {
> private int num;
> public int getNum()
> { return num;}
> public void setNum(int num)
> { this.num = num;}
> private static org.apache.axis.description.TypeDesc typeDesc =
> new org.apache.axis.description.TypeDesc(Num.class);
>
> public static org.apache.axis.encoding.Serializer getSerializer
> (java.lang.String mechType,java.lang.Class _javaType,
> javax.xml.namespace.QName _xmlType)
> {return new org.apache.axis.encoding.ser.BeanSerializer (_javaType,
> _xmlType,typeDesc);
>
> }
> }
>
>
> Thanks,
> Chinmoy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: bcel-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org