You should be able to achieve that by simply setting the content of that
variable to an empty string
object.setName("");
And that should be it.
On Fri, Jan 11, 2013 at 10:30 AM, Fabio Ebner <
[email protected]> wrote:
> Hi.. can someone help me?
>
> i need to create one xml TAG when my value is null
>
> Something like this.
>
> private String name;
>
>
> when i create my XML if my name are null, i need to generate <name></name>
>
> anyone know how i do this??
>
> tks
>
> --
>
> Fabio Ebner
>
> *Email: *[email protected]
> *Telefone: *
> *Endereço: *
>
>
--
João Kreuzberg
Phone: +554535249614
Mobile: +554599639970
GTalk: [email protected]
MSN: [email protected]
Skype: joao.kreuzberg