org.apache.cayenne.dataview
Class MapFormat

java.lang.Object
  extended by java.text.Format
      extended by org.apache.cayenne.dataview.MapFormat
All Implemented Interfaces:
Serializable, Cloneable

public class MapFormat
extends Format

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.Format
Format.Field
 
Constructor Summary
MapFormat()
           
MapFormat(Object[] values, String[] formats)
           
MapFormat(String pattern, Class valueClass)
           
 
Method Summary
 void applyPattern(String pattern)
           
 void applyPattern(String pattern, Class valueClass)
           
 StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos)
           
 char getEntryDelimiter()
           
 String[] getFormats()
           
 String getNullFormat()
           
 String getNullValueDesignation()
           
 char getValueFormatDelimiter()
           
 Object[] getValues()
           
 Object parseObject(String text, ParsePosition status)
           
 void setEntryDelimiter(char delimiter)
           
 void setMap(Object[] values, String[] formats)
           
 void setNullValueDesignation(String nullValueDesignation)
           
 void setValueFormatDelimiter(char delimiter)
           
 String toPattern()
           
 
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapFormat

public MapFormat()

MapFormat

public MapFormat(String pattern,
                 Class valueClass)

MapFormat

public MapFormat(Object[] values,
                 String[] formats)
Method Detail

setEntryDelimiter

public void setEntryDelimiter(char delimiter)

getEntryDelimiter

public char getEntryDelimiter()

setValueFormatDelimiter

public void setValueFormatDelimiter(char delimiter)

getValueFormatDelimiter

public char getValueFormatDelimiter()

setNullValueDesignation

public void setNullValueDesignation(String nullValueDesignation)

getNullValueDesignation

public String getNullValueDesignation()

getNullFormat

public String getNullFormat()

setMap

public void setMap(Object[] values,
                   String[] formats)

getValues

public Object[] getValues()

getFormats

public String[] getFormats()

applyPattern

public void applyPattern(String pattern)

applyPattern

public void applyPattern(String pattern,
                         Class valueClass)

parseObject

public Object parseObject(String text,
                          ParsePosition status)
Specified by:
parseObject in class Format

format

public StringBuffer format(Object obj,
                           StringBuffer toAppendTo,
                           FieldPosition pos)
Specified by:
format in class Format

toPattern

public String toPattern()


Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.