/** * @param pXml * @return - */ public static List<Question> parseQuestions(final String pXml) { ArgUtil.checkNullOrEmpty(pXml, "pXml"); // $NON-NLS-1$ final List<Question> ret = JAXB.unmarshal(new StringReader(pXml), Questions.class).getQuestions(); checkQuestions(ret); return ret; }
/** @param pProducers - */ public FallbackPropertiesProducer(final IFallbackableProducer... pProducers) { ArgUtil.checkNull(pProducers, "pProducers"); // $NON-NLS-1$ this.producers = Collections.unmodifiableList(Arrays.asList(pProducers)); }