org.compass.core.converter.basic
Class URIConverter

java.lang.Object
  extended by org.compass.core.converter.basic.AbstractBasicConverter
      extended by org.compass.core.converter.basic.URIConverter
All Implemented Interfaces:
Converter, ResourcePropertyConverter

public class URIConverter
extends AbstractBasicConverter

Author:
kimchy

Constructor Summary
URIConverter()
           
 
Method Summary
protected  Object doFromString(String str, ResourcePropertyMapping resourcePropertyMapping, MarshallingContext context)
          Override the from String in order to un-marshall the String back into its object representation.
 Property.Index suggestIndex()
          URI is Property.Index.UN_TOKENIZED by default.
 
Methods inherited from class org.compass.core.converter.basic.AbstractBasicConverter
canNormalize, createProperty, doSetBoost, doToString, fromString, fromString, getNullValue, handleNulls, isNullValue, marshall, suggestOmitNorms, suggestStore, suggestTermVector, toString, toString, unmarshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIConverter

public URIConverter()
Method Detail

doFromString

protected Object doFromString(String str,
                              ResourcePropertyMapping resourcePropertyMapping,
                              MarshallingContext context)
                       throws ConversionException
Description copied from class: AbstractBasicConverter
Override the from String in order to un-marshall the String back into its object representation.

Specified by:
doFromString in class AbstractBasicConverter
Throws:
ConversionException

suggestIndex

public Property.Index suggestIndex()
URI is Property.Index.UN_TOKENIZED by default.

Specified by:
suggestIndex in interface ResourcePropertyConverter
Overrides:
suggestIndex in class AbstractBasicConverter


Copyright (c) 2004-2008 The Compass Project.