public static Short toShort(Object o) throws PageException {
  if (o instanceof Short)   return (Short)o;
  return Short.valueOf(toShortValue(o));
}

public static Short toShort ( Object o ) throws PageException { if ( o instanceof Short ) return ( Short ) o ; return Short . valueOf ( toShortValue ( o ) ) ; }
cast a object to a byte object ( reference type )
