Package inspector.jqcml.model

Examples of inspector.jqcml.model.QualityAssessmentList


    // read the xml snippet
    String xmlSnippet = index.readXML(elem);
    try {
      // unmarshal this element
      Object temp = unmarshaller.unmarshal(xmlSnippet);
      QualityAssessmentList qaList = (QualityAssessmentList) JAXBIntrospector.getValue(temp);
      QualityAssessmentAdapter adapter = new QualityAssessmentAdapter();
      QualityAssessment result = adapter.unmarshal(qaList);
     
      // resolve references to Cv's (unmarshal them if required)
      adapter.resolveReferences(result, cvCache, index, unmarshaller);
View Full Code Here


      try {
        // unmarshal to a QualityAssessmentList, and subsequently call the QualityAssessmentAdapter manually
        // manually calling the adapter is required because XmlJavaTypeAdapter can't be used on XmlRootElement
        // see: https://java.net/jira/browse/JAXB-117
        Object temp = unmarshaller.unmarshal(xmlSnippet);
        QualityAssessmentList qaList = (QualityAssessmentList) JAXBIntrospector.getValue(temp);
        QualityAssessmentAdapter adapter = new QualityAssessmentAdapter();
        QualityAssessment result = adapter.unmarshal(qaList);
       
        // resolve references to Cv's (unmarshal them if required)
        // use a cache of unmarshalled Cv's because we might encounter the same Cv multiple times
View Full Code Here

TOP

Related Classes of inspector.jqcml.model.QualityAssessmentList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.