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