SimpleVegetable function ( InputStream arg0 ) { try { JAXBElement < SimpleVegetable > loc0 = unmarshaller . unmarshal ( new StreamSource ( arg0 ) , SimpleVegetable . class ) ; SimpleVegetable loc1 = loc0 . getValue ( ) ; return loc1 ; } catch ( JAXBException loc0 ) { throw new IOException ( loc0 ) ; } }
reads in the assumedly xml contents of the input stream and returns a simplevegetable . throws an ioexception if jaxb has trouble unmarshalling the object . this method does not close the inputstream passed to it . concode_field_sep VegetableReader me concode_elem_sep JAXBContext context concode_elem_sep Unmarshaller unmarshaller concode_field_sep VegetableReader getInstance