486487488489490491492493494495496497498
return null; if (bigInt.signum() < 0) return null; try { XmlIntegerImpl i = new XmlIntegerImpl(); i.set(bigInt); i.setImmutable(); return new XmlValueRef(i); } catch (XmlValueOutOfRangeException e) { return null;
503504505506507508509510511512513514515
{ if (bigInt == null) return null; try { XmlIntegerImpl i = new XmlIntegerImpl(); i.set(bigInt); i.setImmutable(); return new XmlValueRef(i); } catch (XmlValueOutOfRangeException e) { return null;