protected JavaQName getObjectRuntimeType(SimpleTypeSG pController) { return BYTE_OBJECT_TYPE; }
protected String getDatatypeName() { return "Byte"; }
public Object getCastFromString(SimpleTypeSG pController, String pValue) throws SAXException {
try {
return new Object[]{"((", BYTE_TYPE, ") ", new Byte(new DatatypeConverterImpl().parseByte(pValue)), ")"};
} catch (NumberFormatException e) {
throw new LocSAXException("Failed to convert byte value to integer: " + pValue, getLocator());
}
}