org.apache.xerces.xs.datatypes
Interface XSDecimal
- public interface XSDecimal
Interface to expose the value of 'decimal' and related datatypes.
- Version:
- $Id: XSDecimal.java,v 1.4 2005/05/15 20:38:40 mrglavas Exp $
- Author:
- Naela Nissar, IBM
getBigDecimal
public java.math.BigDecimal getBigDecimal()
- Returns:
- the
BigDecimal
representation of this object
getBigInteger
public java.math.BigInteger getBigInteger()
throws java.lang.NumberFormatException
- Returns:
- the
BigInteger
representation of this object
- Throws:
java.lang.NumberFormatException
- if the value cannot be represented as a BigInteger
getLong
public long getLong()
throws java.lang.NumberFormatException
- Returns:
- the long value representation of this object
- Throws:
java.lang.NumberFormatException
- if the value cannot be represented as a long
getInt
public int getInt()
throws java.lang.NumberFormatException
- Returns:
- the int value representation of this object
- Throws:
java.lang.NumberFormatException
- if the value cannot be represented as a int
getShort
public short getShort()
throws java.lang.NumberFormatException
- Returns:
- the short value representation of this object
- Throws:
java.lang.NumberFormatException
- if the value cannot be represented as a short
getByte
public byte getByte()
throws java.lang.NumberFormatException
- Returns:
- the byte value representation of this object
- Throws:
java.lang.NumberFormatException
- if the value cannot be represented as a byte
Copyright ? 1999-2005 Apache XML Project. All Rights Reserved.