Package inspector.jqcml.jaxb.adapters

Examples of inspector.jqcml.jaxb.adapters.QualityAssessmentAdapter.resolveReferences()


      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);
     
      // set the isSet flag based on the element name
      if(unmarshaller.getIntrospector().getElementName(temp).getLocalPart().equals("setQuality"))
        result.setSet(true);
      else
View Full Code Here


        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
        HashMap<String, Cv> cvCache = new HashMap<>();
        adapter.resolveReferences(result, cvCache, index, unmarshaller);
       
        // set the isSet flag based on the element name
        if(unmarshaller.getIntrospector().getElementName(temp).getLocalPart().equals("setQuality"))
          result.setSet(true);
        else
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.