Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XalanDecimalFormat Class Reference

#include <XalanDecimalFormat.hpp>

Inheritance diagram for XalanDecimalFormat:

XalanNumberFormat Collaboration diagram for XalanDecimalFormat:

List of all members.

Public Methods

Protected Methods


Detailed Description


Constructor & Destructor Documentation

explicit XalanDecimalFormat::XalanDecimalFormat ( const XalanDOMString & thePatternString = XalanDOMString(),
const XalanDecimalFormatSymbols & theSymbols = XalanDecimalFormatSymbols())

Constructor.

Parameters:
thePatternString   string defining how output should be formatted
theSymbols   class defining the symbols used for output, for example, symbol for currency

virtual XalanDecimalFormat::~XalanDecimalFormat () [virtual]


Member Function Documentation

void XalanDecimalFormat::applyLocalizedPattern ( const XalanDOMString & thePattern)

void XalanDecimalFormat::applyPattern ( const XalanDOMString & thePattern)

virtual XalanDOMString XalanDecimalFormat::format ( unsigned long theValue) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
Returns:
string representation of number

Reimplemented from XalanNumberFormat.

virtual XalanDOMString XalanDecimalFormat::format ( long theValue) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
Returns:
string representation of number

Reimplemented from XalanNumberFormat.

virtual XalanDOMString XalanDecimalFormat::format ( unsigned int theValue) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
Returns:
string representation of number

Reimplemented from XalanNumberFormat.

virtual XalanDOMString XalanDecimalFormat::format ( int theValue) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
Returns:
string representation of number

Reimplemented from XalanNumberFormat.

virtual XalanDOMString XalanDecimalFormat::format ( double theValue) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
Returns:
string representation of number

Reimplemented from XalanNumberFormat.

const XalanDecimalFormatSymbols & XalanDecimalFormat::getDecimalFormatSymbols () const

Retrieve class defining symbols used for output.

Returns:
class defining the symbols used for output, for example, symbol for currency

XalanDOMString XalanDecimalFormat::getNormalizedPattern ( const XalanDOMString & thePattern) [protected]

void XalanDecimalFormat::setDecimalFormatSymbols ( const XalanDecimalFormatSymbols & theDecimalFormatSymbols)

Set class defining symbols used for output.

Parameters:
class   defining the symbols used for output, for example, symbol for currency

The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.