org.apache.axis.types

Class NegativeInteger

public class NegativeInteger extends NonPositiveInteger

Custom class for supporting primitive XSD data type negativeinteger negativeInteger is derived from nonPositiveInteger by setting the value of maxInclusive to be -1. This results in the standard mathematical concept of the negative integers. The value space of negativeInteger is the infinite set {...,-2,-1}. The base type of negativeInteger is nonPositiveInteger.

Author: Chris Haddad

See Also: XML Schema 3.3.15

Nested Class Summary
protected static classNegativeInteger.BigIntegerRep
Constructor Summary
NegativeInteger(byte[] val)
NegativeInteger(int signum, byte[] magnitude)
NegativeInteger(int bitLength, int certainty, Random rnd)
NegativeInteger(int numBits, Random rnd)
NegativeInteger(String val)
NegativeInteger(String val, int radix)
Method Summary
ObjectwriteReplace()
Work-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.html

Constructor Detail

NegativeInteger

public NegativeInteger(byte[] val)

NegativeInteger

public NegativeInteger(int signum, byte[] magnitude)

NegativeInteger

public NegativeInteger(int bitLength, int certainty, Random rnd)

NegativeInteger

public NegativeInteger(int numBits, Random rnd)

NegativeInteger

public NegativeInteger(String val)

NegativeInteger

public NegativeInteger(String val, int radix)

Method Detail

writeReplace

public Object writeReplace()
Work-around for http://developer.java.sun.com/developer/bugParade/bugs/4378370.html

Returns: BigIntegerRep

Throws: java.io.ObjectStreamException

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.