Class PresenceMarker

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    @Embeddable
    public class PresenceMarker
    extends ImmutableObject
    implements java.io.Serializable
    Used as the value of a tag that is present in the XML but has no children or value.

    When placed in a field "foo", this will correctly unmarshal from both <foo/> and <foo></foo>, and will unmarshal always to <foo/>.

    See Also:
    Serialized Form
    • Constructor Detail

      • PresenceMarker

        public PresenceMarker()