Class AbstractOptionalAdapter<T>

    • Constructor Detail

      • AbstractOptionalAdapter

        public AbstractOptionalAdapter()
    • Method Detail

      • fromString

        public abstract T fromString​(java.lang.String v)
      • unmarshal

        public java.util.Optional<T> unmarshal​(java.lang.String v)
                                        throws java.lang.Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.util.Optional<T>>
        Throws:
        java.lang.Exception
      • marshal

        public java.lang.String marshal​(java.util.Optional<T> v)
                                 throws java.lang.Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.util.Optional<T>>
        Throws:
        java.lang.Exception