Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.7

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

XalanDecimalFormat Class Reference

#include <XalanDecimalFormat.hpp>

Inheritance diagram for XalanDecimalFormat

Collaboration diagram for XalanDecimalFormat:

List of all members.

Public Methods

Protected Methods


Constructor & Destructor Documentation

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

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 void XalanDecimalFormat::format ( unsigned long theValue,
XalanDOMString & theResult ) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
theResult   the string result

Reimplemented from XalanNumberFormat.

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 void XalanDecimalFormat::format ( long theValue,
XalanDOMString & theResult ) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
theResult   the string result

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 void XalanDecimalFormat::format ( unsigned int theValue,
XalanDOMString & theResult ) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
theResult   the string result

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 void XalanDecimalFormat::format ( int theValue,
XalanDOMString & theResult ) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
theResult   the string result

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 void XalanDecimalFormat::format ( double theValue,
XalanDOMString & theResult ) [virtual]

Format a number into a string.

Parameters:
theValue   number to format
theResult   the string result

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++ XSLT Processor Version 1.7
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.