Package com.yahoo.prelude.fastsearch
Class XMLField
- java.lang.Object
-
- com.yahoo.prelude.fastsearch.DocsumField
-
- com.yahoo.prelude.fastsearch.XMLField
-
public class XMLField extends DocsumField
Class converting data (historically XML-encoded) from a document summary field. This has only been used to represent geographical positions.- Author:
- Steinar Knutsen
-
-
Field Summary
-
Fields inherited from class com.yahoo.prelude.fastsearch.DocsumField
name
-
-
Constructor Summary
Constructors Constructor Description XMLField(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
convert(com.yahoo.data.access.Inspector value)
Convert a generic value into an object of the appropriate type for this field.java.lang.String
toString()
-
Methods inherited from class com.yahoo.prelude.fastsearch.DocsumField
create, getName
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
convert
public java.lang.Object convert(com.yahoo.data.access.Inspector value)
Description copied from class:DocsumField
Convert a generic value into an object of the appropriate type for this field.- Specified by:
convert
in classDocsumField
-
-