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