static XmlNonNegativeInteger buildNnInteger(XmlAnySimpleType value)
{
BigInteger bigInt = buildBigInt(value);
try
{
XmlNonNegativeIntegerImpl i = new XmlNonNegativeIntegerImpl();
i.set(bigInt);
i.setImmutable();
return i;
}
catch (XmlValueOutOfRangeException e)
{
StscState.get().error("Internal error processing number", XmlErrorContext.MALFORMED_NUMBER, value);