} else if (obj instanceof NumToken) {
NumToken nta = (NumToken) obj;
if (nta.getNumType() == TokenizerAnnotator.TOKEN_NUM_TYPE_INTEGER) {
return new IntegerTokenAdapter(nta);
}
return new DecimalTokenAdapter(nta);
} else if (obj instanceof PunctuationToken) {
PunctuationToken pta = (PunctuationToken) obj;
return new PunctuationTokenAdapter(pta);
} else if (obj instanceof NewlineToken) {
NewlineToken nta = (NewlineToken) obj;