Annotation Type Transient
-
@Retention(RUNTIME) @Target(METHOD) public @interface Transient
Use on either the getter or setter method (or both) of a property to mark it as transient with respect to the XMLSerializer. The property will not be serialized.