code: public static Byte toByte(Object o) throws PageException {
  	if (o instanceof Byte) return (Byte) o;
  	return new Byte(toByteValue(o));
  
      }
docs: cast a Object to a Byte Object(reference type)
  
  @param o Object to cast
  @return casted Byte Object
  @throws PageException