Class PresenceMarker

  • All Implemented Interfaces:, java.lang.Cloneable

    public class PresenceMarker
    extends ImmutableObject
    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()