664665666667668669670671672673674
private void printInt(PrintStream ps, TaggedValuePointable tvp) { IntegerPointable ip = pp.takeOne(IntegerPointable.class); try { tvp.getValue(ip); ps.print(ip.intValue()); } finally { pp.giveBack(ip); } }
672673674675676677678679680681682
106107108109110111112113114115116
} case ValueTag.XS_INT_TAG: case ValueTag.XS_UNSIGNED_SHORT_TAG: { tvp.getValue(ip); if (ip.intValue() == 0) { XDMConstants.setFalse(result); return; } XDMConstants.setTrue(result); return;