org.apache.myfaces.trinidadinternal.share.nls
Class ImmutableDecimalFormatContext

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.share.nls.DecimalFormatContext
      extended by org.apache.myfaces.trinidadinternal.share.nls.ImmutableDecimalFormatContext
All Implemented Interfaces:
java.lang.Cloneable

public final class ImmutableDecimalFormatContext
extends DecimalFormatContext

The ImmutableDecimalFormatContext class contains all number format parameters, and cannot be changed once initialised.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/nls/ImmutableDecimalFormatContext.java#0 $) $Date: 10-nov-2005.19:00:02 $
Author:
The Oracle ADF Faces Team

Constructor Summary
ImmutableDecimalFormatContext(DecimalFormatContext dfc)
          Constructs a new ImmutableDecimalFormatContext, cloning the instance passed in.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Override of Object.equals().
 char getDecimalSeparator()
          Returns the character used as a decimal separator.
 char getGroupingSeparator()
          Returns the character used to separate number groupings.
 int hashCode()
          Override of Object.hashCode().
 
Methods inherited from class org.apache.myfaces.trinidadinternal.share.nls.DecimalFormatContext
clone, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImmutableDecimalFormatContext

public ImmutableDecimalFormatContext(DecimalFormatContext dfc)
Constructs a new ImmutableDecimalFormatContext, cloning the instance passed in.

Method Detail

getGroupingSeparator

public char getGroupingSeparator()
Returns the character used to separate number groupings.

Specified by:
getGroupingSeparator in class DecimalFormatContext

getDecimalSeparator

public char getDecimalSeparator()
Returns the character used as a decimal separator.

Specified by:
getDecimalSeparator in class DecimalFormatContext

equals

public boolean equals(java.lang.Object obj)
Description copied from class: DecimalFormatContext
Override of Object.equals().

Overrides:
equals in class DecimalFormatContext

hashCode

public int hashCode()
Description copied from class: DecimalFormatContext
Override of Object.hashCode().

Overrides:
hashCode in class DecimalFormatContext


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.