Class UriFieldValue

java.lang.Object
com.yahoo.vespa.objects.Selectable
com.yahoo.vespa.objects.Identifiable
All Implemented Interfaces:
Cloneable, Comparable<FieldValue>

public class UriFieldValue extends StringFieldValue
Author:
Magnar Nedland
  • Constructor Details

    • UriFieldValue

      public UriFieldValue()
    • UriFieldValue

      public UriFieldValue(String value)
  • Method Details

    • getFactory

      public static com.yahoo.document.datatypes.UriFieldValue.Factory getFactory()
    • assign

      public void assign(Object obj)
      Description copied from class: StringFieldValue
      Sets a new value for this StringFieldValue. NOTE that doing so will clear all span trees from this value, since they most certainly will not make sense for a new string value.
      Overrides:
      assign in class StringFieldValue
      Parameters:
      obj - the new String to assign to this. An argument of null is equal to calling clear().
    • getDataType

      public DataType getDataType()
      Description copied from class: StringFieldValue
      Returns DataType.STRING.
      Overrides:
      getDataType in class StringFieldValue
      Returns:
      DataType.STRING, always
    • deserialize

      public void deserialize(Field field, FieldReader reader)
      Description copied from class: FieldValue
      Read a field value from the specified reader
      Overrides:
      deserialize in class StringFieldValue