org.compass.core.marshall
Interface MarshallingContext

All Known Implementing Classes:
DefaultMarshallingStrategy

public interface MarshallingContext

Author:
kimchy

Method Summary
 void clearContext()
           
 Object getAttribute(Object key)
           
 CompassMapping getCompassMapping()
           
 ConverterLookup getConverterLookup()
           
 MarshallingStrategy getMarshallingStrategy()
           
 SearchEngine getSearchEngine()
           
 InternalCompassSession getSession()
           
 boolean handleNulls()
          Means that when creating a property, a special null value should be saved to mark it as null
 void removeHandleNulls(String path)
          Removes the fact that a null value should be used.
 void setAttribute(Object key, Object value)
           
 void setHandleNulls(String path)
          Sets on the path to use null values
 

Method Detail

getSearchEngine

SearchEngine getSearchEngine()

getCompassMapping

CompassMapping getCompassMapping()

getConverterLookup

ConverterLookup getConverterLookup()

getSession

InternalCompassSession getSession()

getMarshallingStrategy

MarshallingStrategy getMarshallingStrategy()

setAttribute

void setAttribute(Object key,
                  Object value)

getAttribute

Object getAttribute(Object key)

clearContext

void clearContext()

handleNulls

boolean handleNulls()
Means that when creating a property, a special null value should be saved to mark it as null


setHandleNulls

void setHandleNulls(String path)
Sets on the path to use null values


removeHandleNulls

void removeHandleNulls(String path)
Removes the fact that a null value should be used.



Copyright (c) 2004-2006 The Compass Project.