public static FeaturesConfig fromXml(final InputStream toConvert) throws JAXBException {
  Unmarshaller stringUnmarshaller=getUnmarshaller();
  return (FeaturesConfig)stringUnmarshaller.unmarshal(toConvert);
}

public static FeaturesConfig fromXml ( final InputStream toConvert ) throws JAXBException { Unmarshaller stringUnmarshaller = getUnmarshaller ( ) ; return ( FeaturesConfig ) stringUnmarshaller . unmarshal ( toConvert ) ; }
converts xml file to pluginscollectionconfig ,
