Class UriDatatype

java.lang.Object
io.jmix.core.metamodel.datatype.impl.UriDatatype
All Implemented Interfaces:
Datatype<URI>

public class UriDatatype extends Object implements Datatype<URI>
  • Constructor Details

    • UriDatatype

      public UriDatatype()
  • Method Details

    • format

      public String format(@Nullable Object value)
      Description copied from interface: Datatype
      Converts value to String. Returns an empty string for null value.
      Specified by:
      format in interface Datatype<URI>
    • format

      public String format(@Nullable Object value, Locale locale)
      Description copied from interface: Datatype
      Converts value to String taking into account local formats. Returns an empty string for null value.
      Specified by:
      format in interface Datatype<URI>
    • parse

      @Nullable public URI parse(@Nullable String value)
      Description copied from interface: Datatype
      Parses value from String
      Specified by:
      parse in interface Datatype<URI>
    • parse

      @Nullable public URI parse(@Nullable String value, Locale locale) throws ParseException
      Description copied from interface: Datatype
      Parses value from String taking into account local formats
      Specified by:
      parse in interface Datatype<URI>
      Throws:
      ParseException
    • toString

      public String toString()
      Overrides:
      toString in class Object