public interface

XSDecimal

org.apache.xerces.xs.datatypes.XSDecimal

Class Overview

Interface to expose the value of 'decimal' and related datatypes.

Summary

Public Methods
abstract BigDecimal getBigDecimal()
abstract BigInteger getBigInteger()
abstract byte getByte()
abstract int getInt()
abstract long getLong()
abstract short getShort()

Public Methods

public abstract BigDecimal getBigDecimal ()

Returns
  • the BigDecimal representation of this object

public abstract BigInteger getBigInteger ()

Returns
  • the BigInteger representation of this object
Throws
NumberFormatException if the value cannot be represented as a BigInteger

public abstract byte getByte ()

Returns
  • the byte value representation of this object
Throws
NumberFormatException if the value cannot be represented as a byte

public abstract int getInt ()

Returns
  • the int value representation of this object
Throws
NumberFormatException if the value cannot be represented as a int

public abstract long getLong ()

Returns
  • the long value representation of this object
Throws
NumberFormatException if the value cannot be represented as a long

public abstract short getShort ()

Returns
  • the short value representation of this object
Throws
NumberFormatException if the value cannot be represented as a short