Package org.mcisb.beacon.model

Examples of org.mcisb.beacon.model.Result


 
  public ResultXmlParser(File f) {
    try {
      JAXBContext jc = JAXBContext.newInstance("org.mcisb.beacon.model");
      Unmarshaller unmarshaller = jc.createUnmarshaller();
      Result result = (Result)unmarshaller.unmarshal(f);
      ResultTimeSeries timeSeries = result.getResultTimeSeries();
      List<ResultState> resultStates = timeSeries.getResultState();
      times = new double[resultStates.size()];
      for (int i=0; i< resultStates.size(); i++) {
        ResultState resultState = (ResultState) resultStates.get(i);
        times[i]=resultState.getTimeStamp();
View Full Code Here

TOP

Related Classes of org.mcisb.beacon.model.Result

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.