Package org.apache.xalan.transformer
Class DecimalToRoman
java.lang.Object
org.apache.xalan.transformer.DecimalToRoman
public class DecimalToRoman extends Object
Structure to help in converting integers to roman numerals
-
Field Summary
Fields Modifier and Type Field Description Stringm_postLetterCorrespoding letter (roman) to m_postValuelongm_postValueMinimum value for a given range of roman numbersStringm_preLetterCorrespoding letter (roman) to m_preValuelongm_preValueValue of last prefixed number within that same range -
Constructor Summary
Constructors Constructor Description DecimalToRoman(long postValue, String postLetter, long preValue, String preLetter)Constructor DecimalToRoman -
Method Summary
-
Field Details
-
m_postValue
public long m_postValueMinimum value for a given range of roman numbers -
m_postLetter
Correspoding letter (roman) to m_postValue -
m_preValue
public long m_preValueValue of last prefixed number within that same range -
m_preLetter
Correspoding letter (roman) to m_preValue
-
-
Constructor Details
-
DecimalToRoman
Constructor DecimalToRoman- Parameters:
postValue- Minimum value for a given range of roman numberspostLetter- Correspoding letter (roman) to postValuepreValue- Value of last prefixed number within that same range (i.e. IV if postval is 5 (V))preLetter- Correspoding letter(roman) to preValue
-