Hi,

You could import the generated classes to eclipse and format the whole code
using the format tool.
This can remove unneeded package prefix and do various formatting based on
your preferences.

Manuel

On Tue, Nov 18, 2008 at 8:18 AM, ibrahim demir <[EMAIL PROTECTED]>wrote:

> Hi All;
>
> I'm creating my classes with axis2 wsdl2java tool. But teh resultant
> classes are hard to read. It adds the class package name before every
> element. Is there any option to stop them. Or do you have any way to get rid
> of them quickly.
>
> As an example:
>
>     private static java.lang.String generatePrefix(java.lang.String
> namespace) {
>            if(namespace.equals("urn:cs.com.tr/banking")){
>                return "";
>            }
>            return
> org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
>        }
>
>
> I do not want to see java.lang.String in front of generatePrefix method.
>
> Yours.
>
> Ibrahim DEMIR
> CyberSoft Yazilim Muh.
> http://www.ibrahimdemir.org
>
>
>
>
>
>

Reply via email to