org.compass.core.converter.mapping.osem
Class ArrayMappingConverter
java.lang.Object
org.compass.core.converter.mapping.osem.AbstractCollectionMappingConverter
org.compass.core.converter.mapping.osem.ArrayMappingConverter
- All Implemented Interfaces:
- Converter
public class ArrayMappingConverter
- extends AbstractCollectionMappingConverter
- Author:
- kimchy
|
Method Summary |
protected void |
addValue(Object col,
int index,
Object value,
AbstractCollectionMapping mapping,
MarshallingContext context)
|
protected Object |
createColObject(Getter getter,
AbstractCollectionMapping.CollectionType collectionType,
int size,
AbstractCollectionMapping mapping,
MarshallingContext context)
|
protected AbstractCollectionMapping.CollectionType |
getRuntimeCollectionType(Object root)
|
protected int |
marshallIterateData(Object root,
AbstractCollectionMapping colMapping,
Resource resource,
MarshallingContext context)
Marhall the data, returning the number of elements that were actually stored in the index
(and can later be read). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayMappingConverter
public ArrayMappingConverter()
marshallIterateData
protected int marshallIterateData(Object root,
AbstractCollectionMapping colMapping,
Resource resource,
MarshallingContext context)
- Description copied from class:
AbstractCollectionMappingConverter
- Marhall the data, returning the number of elements that were actually stored in the index
(and can later be read).
- Specified by:
marshallIterateData in class AbstractCollectionMappingConverter
getRuntimeCollectionType
protected AbstractCollectionMapping.CollectionType getRuntimeCollectionType(Object root)
- Specified by:
getRuntimeCollectionType in class AbstractCollectionMappingConverter
createColObject
protected Object createColObject(Getter getter,
AbstractCollectionMapping.CollectionType collectionType,
int size,
AbstractCollectionMapping mapping,
MarshallingContext context)
- Specified by:
createColObject in class AbstractCollectionMappingConverter
addValue
protected void addValue(Object col,
int index,
Object value,
AbstractCollectionMapping mapping,
MarshallingContext context)
- Specified by:
addValue in class AbstractCollectionMappingConverter
Copyright (c) 2004-2008 The Compass Project.