org.apache.axis.types

Class NonNegativeInteger

public class NonNegativeInteger extends BigInteger

Custom class for supporting primitive XSD data type nonNegativeInteger

Author: Russell Butek

See Also: XML Schema 3.3.20

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

Constructor Detail

NonNegativeInteger

public NonNegativeInteger(byte[] val)

NonNegativeInteger

public NonNegativeInteger(int signum, byte[] magnitude)

NonNegativeInteger

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

NonNegativeInteger

public NonNegativeInteger(int numBits, Random rnd)

NonNegativeInteger

public NonNegativeInteger(String val)

NonNegativeInteger

public NonNegativeInteger(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: ObjectStreamException

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