return new TypedValueImpl(new Object[]{DURATION_TYPE, ".valueOf(", pValue, ")"}, DURATION_TYPE);
}
public TypedValue getCastFromString(SimpleTypeSG pController, String pValue) throws SAXException {
try {
return new TypedValueImpl("org.apache.ws.jaxme.util.Duration.valueOf(\"" + pValue + "\")", DURATION_TYPE);
} catch (RuntimeException e) {
try {
throw new LocSAXException("Failed to convert string value to "
+ getDatatypeName() + " instance: " + pValue, getLocator());
} catch (Exception e1) {