private static void parseAttributeOrTextContent ( String stringValue , Field field , Type valueType , List < Type > context , Object destination , GenericXml genericXml , Map < String , Object > destinationMap , String name ) { if ( field != null || genericXml != null || destinationMap != null ) { valueType = field == null ? valueType : field . getGenericType ( ) ; Object value = parseValue ( valueType , context , stringValue ) ; setValue ( value , field , destination , genericXml , destinationMap , name ) ; } }
Parses the string value of an attribute value or text content .