org.apache.axis.types

Class NonNegativeInteger

Known Direct Subclasses:
PositiveInteger

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 class
NonNegativeInteger.BigIntegerRep

Constructor Summary

NonNegativeInteger(String val)
NonNegativeInteger(String val, int radix)
NonNegativeInteger(byte[] val)
NonNegativeInteger(int numBits, Random rnd)
NonNegativeInteger(int signum, byte[] magnitude)
NonNegativeInteger(int bitLength, int certainty, Random rnd)

Method Summary

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

Constructor Details

NonNegativeInteger

public NonNegativeInteger(String val)

NonNegativeInteger

public NonNegativeInteger(String val,
                          int radix)

NonNegativeInteger

public NonNegativeInteger(byte[] val)

NonNegativeInteger

public NonNegativeInteger(int numBits,
                          Random rnd)

NonNegativeInteger

public NonNegativeInteger(int signum,
                          byte[] magnitude)

NonNegativeInteger

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

Method Details

writeReplace

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

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