| java.lang.Object org.compass.core.converter.xsem.SimpleXmlValueConverter
SimpleXmlValueConverter | public class SimpleXmlValueConverter implements Converter(Code) | | A simple converter which uses the String value of
org.compass.core.xml.XmlObject.getValue .
It is the deafult converter associated with the value converter of
XmlPropertyMapping if none
is specified. It can also be used as a base class for more specialized converters.
author: kimchy |
Method Summary | |
protected void | doSetBoost(Property property, Object root, ResourcePropertyMapping resourcePropertyMapping, MarshallingContext context) A simple extension point that allows to set the boost value for the created
Property . | protected String | getNullValue(ResourcePropertyMapping resourcePropertyMapping, MarshallingContext context) If the converter handle nulls, the value that will be stored in the
search engine for null values (during the marshall process). | protected boolean | handleNulls(ResourcePropertyMapping resourcePropertyMapping, MarshallingContext context) Should the converter handle nulls? Handling nulls means should the
converter process nulls or not. | public boolean | marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context) | public String | toString(XmlObject xmlObject, ResourcePropertyMapping resourcePropertyMapping) Default implementation of toString, simply calls
org.compass.core.xml.XmlObject.getValue . | public Object | unmarshall(Resource resource, Mapping mapping, MarshallingContext context) Not supported operation. |
|
|