org.odftoolkit.simple.table
Class DefaultCellValueAdapter

java.lang.Object
  extended by org.odftoolkit.simple.table.DefaultCellValueAdapter
All Implemented Interfaces:
CellValueAdapter

public class DefaultCellValueAdapter
extends Object
implements CellValueAdapter

This is a default realization of CellValueAdapter. It will adapt cell string content as common rule.

Since:
0.3
See Also:
CellValueAdapter

Field Summary
 
Fields inherited from interface org.odftoolkit.simple.table.CellValueAdapter
DEFAULT_VALUE_ADAPTER
 
Constructor Summary
DefaultCellValueAdapter()
           
 
Method Summary
 void adaptValue(Cell cell, String value)
          Adapt string content to a more proper cell value type as need.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCellValueAdapter

public DefaultCellValueAdapter()
Method Detail

adaptValue

public void adaptValue(Cell cell,
                       String value)
Description copied from interface: CellValueAdapter
Adapt string content to a more proper cell value type as need.

Specified by:
adaptValue in interface CellValueAdapter
Parameters:
cell - the cell need to value adapt.
value - the value to be adapted.


Copyright © 2010-2017 The Apache Software Foundation. All Rights Reserved.