org.compass.core.converter.basic
Class URLConverter

java.lang.Object
  extended by org.compass.core.converter.basic.AbstractBasicConverter<URL>
      extended by org.compass.core.converter.basic.URLConverter
All Implemented Interfaces:
Converter<URL>, ContextResourcePropertyConverter<URL>, ResourcePropertyConverter<URL>

public class URLConverter
extends AbstractBasicConverter<URL>

Author:
kimchy

Constructor Summary
URLConverter()
           
 
Method Summary
protected  URL 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()
          URL is Property.Index.NOT_ANALYZED by default.
 
Methods inherited from class org.compass.core.converter.basic.AbstractBasicConverter
canNormalize, createProperty, doSetBoost, doToString, fromString, fromString, getNullValue, handleNulls, isNullValue, marshall, suggestOmitNorms, suggestOmitTf, 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

URLConverter

public URLConverter()
Method Detail

doFromString

protected URL 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<URL>
Throws:
ConversionException

suggestIndex

public Property.Index suggestIndex()
URL is Property.Index.NOT_ANALYZED by default.

Specified by:
suggestIndex in interface ResourcePropertyConverter<URL>
Overrides:
suggestIndex in class AbstractBasicConverter<URL>


Copyright (c) 2004-2009 The Compass Project.