コード例 #1
0
 /**
  * @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;
 }
コード例 #2
0
 /** @param pProducers - */
 public FallbackPropertiesProducer(final IFallbackableProducer... pProducers) {
   ArgUtil.checkNull(pProducers, "pProducers"); // $NON-NLS-1$
   this.producers = Collections.unmodifiableList(Arrays.asList(pProducers));
 }