@Override
	public E parse(BinderContext context, ParserWrapper parserWrapper) throws Exception {
		E instance = null;

		switch (context.getSupportedFormat()) {
		case XML:
			instance = parseOnXml(((XmlWrapperParser) parserWrapper).xmlParser, 0);
			break;
		default:
			if (context.getSupportedFormat().onlyText)
				instance = parseOnJacksonAsString(((JacksonWrapperParser) parserWrapper).jacksonParser);
			else
				instance = parseOnJackson(((JacksonWrapperParser) parserWrapper).jacksonParser);

			break;
		}

		return instance;
	}
@ Override public E parse ( BinderContext context , ParserWrapper parserWrapper ) throws Exception { E instance = null ; switch ( context . getSupportedFormat ( ) ) { case XML : instance = parseOnXml ( ( ( XmlWrapperParser ) parserWrapper ) . xmlParser , 0 ) ; break ; default : if ( context . getSupportedFormat ( ) . onlyText ) instance = parseOnJacksonAsString ( ( ( JacksonWrapperParser ) parserWrapper ) . jacksonParser ) ; else instance = parseOnJackson ( ( ( JacksonWrapperParser ) parserWrapper ) . jacksonParser ) ; break ; } return instance ; }
/* (non-Javadoc)
@see com.abubusoft.kripton.BinderMapper#parse(com.abubusoft.kripton.BinderContext, com.abubusoft.kripton.persistence.ParserWrapper)