Class StructuredData

java.lang.Object
com.yahoo.search.result.StructuredData
All Implemented Interfaces:
com.yahoo.data.access.Inspectable, com.yahoo.data.JsonProducer, com.yahoo.data.XmlProducer

public class StructuredData extends Object implements com.yahoo.data.access.Inspectable, com.yahoo.data.JsonProducer, com.yahoo.data.XmlProducer
A wrapper for structured data representing feature values.
  • Constructor Details

    • StructuredData

      public StructuredData(com.yahoo.data.access.Inspector value)
  • Method Details

    • inspect

      public com.yahoo.data.access.Inspector inspect()
      Specified by:
      inspect in interface com.yahoo.data.access.Inspectable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • writeXML

      public StringBuilder writeXML(StringBuilder target)
      Specified by:
      writeXML in interface com.yahoo.data.XmlProducer
    • toJson

      public String toJson()
      Specified by:
      toJson in interface com.yahoo.data.JsonProducer
    • writeJson

      public StringBuilder writeJson(StringBuilder target)
      Specified by:
      writeJson in interface com.yahoo.data.JsonProducer