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