public RosettaData<T> load(String str) throws APIException {
		Parse<Reader,?> in = df.getIn(inType);
		TimeTaken tt = in.start(trans);
		try {
			saved.extract(new StringReader(str), (Writer)null, in);
			switch(inType) {
				case XML:
					xml = str;
					break;
				case JSON:
					json = str;
					break;
				default:
					
				}
		} catch (Exception e) {
			throw new APIException(e);
		} finally {
			tt.done();
		}
		return this;
	}
public RosettaData < T > load ( String str ) throws APIException { Parse < Reader , ? > in = df . getIn ( inType ) ; TimeTaken tt = in . start ( trans ) ; try { saved . extract ( new StringReader ( str ) , ( Writer ) null , in ) ; switch ( inType ) { case XML : xml = str ; break ; case JSON : json = str ; break ; default : } } catch ( Exception e ) { throw new APIException ( e ) ; } finally { tt . done ( ) ; } return this ; }
@Override