you says
Is the toString method in the JAXB class then necessary?The MathTable class is a JAXB application class (and JAX-RS provides a standard MessageBodyReader and MessageBodyWriter for JAXB classes)
@XmlRootElement
![Question :?:](./images/smilies/icon_question.gif)
Thanks
Regards
Fabio
Moderators: Site Manager, fjwalraven
Is the toString method in the JAXB class then necessary?The MathTable class is a JAXB application class (and JAX-RS provides a standard MessageBodyReader and MessageBodyWriter for JAXB classes)
@XmlRootElement
toString is used to reprsent the record values to human in a readable format. System.out.println(t) its the same System.out.println(t.toString()) toString is for other people to see what you class have so they can have an idea about you class.javabean68 wrote: ↑Sat Jul 14, 2018 12:35 pmHi Frits
you saysthe toString method in the JAXB class then necessary?The MathTable class where can i find phen375 gnc is a JAXB application class (and JAX-RS provides a standard MessageBodyReader and MessageBodyWriter for JAXB classes)
@XmlRootElement![]()
Thanks
Regards
Fabio
Users browsing this forum: No registered users and 92 guests