There is an @XmlTransient annotation to mark fields as transient from a jaxb 
standpoint.

Dan



On Wednesday 08 October 2008 2:06:19 pm Maxime Orain wrote:
> Hello
>
>
>
> Another question...  how it's possible to hide a pojo field?
>
>
>
> I don't want that right field appears on the generated WSDL. Is a method
> exists to hide or to ignore a field?
>
>
>
> public class MyDefinedPojo
>
> {
>
>             protected String left;
>
>             protected String right;
>
>
>
>             public MyDefinedPojo() {}
>
>
>
>             public String  getLeft() {  return this.left;   }
>
>
>             public void setLeft(String data) { this.left=data; }
>
>             public String  getRight() { return this.right;            }
>
>
>             public void setRight(String data) { this.right=data; }
>
>  }
>
>
>
>
>
> Thanks for your help!
>
>
>
>
>
> This email was sent to you by Thomson Reuters, the global news and
> information company. Any views expressed in this message are those of the
> individual sender, except where the sender specifically states them to be
> the views of Thomson Reuters.



-- 
Daniel Kulp
[EMAIL PROTECTED]
http://dankulp.com/blog

Reply via email to