Class NearConverter
- java.lang.Object
-
- com.yahoo.search.query.textserialize.item.CompositeConverter
-
- com.yahoo.search.query.textserialize.item.NearConverter
-
- All Implemented Interfaces:
ItemFormConverter
public class NearConverter extends CompositeConverter
- Author:
- Tony Vaagenes
-
-
Constructor Summary
Constructors Constructor Description NearConverter(java.lang.Class<? extends NearItem> nearItemClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
formToItem(java.lang.String name, ItemArguments arguments, ItemContext itemContext)
DispatchForm
itemToForm(Item item, ItemIdMapper itemIdMapper)
-
Methods inherited from class com.yahoo.search.query.textserialize.item.CompositeConverter
addChildren, getFormName
-
-
-
-
Constructor Detail
-
NearConverter
public NearConverter(java.lang.Class<? extends NearItem> nearItemClass)
-
-
Method Detail
-
formToItem
public java.lang.Object formToItem(java.lang.String name, ItemArguments arguments, ItemContext itemContext)
- Specified by:
formToItem
in interfaceItemFormConverter
- Overrides:
formToItem
in classCompositeConverter
-
itemToForm
public DispatchForm itemToForm(Item item, ItemIdMapper itemIdMapper)
- Specified by:
itemToForm
in interfaceItemFormConverter
- Overrides:
itemToForm
in classCompositeConverter
-
-