Android Open Source - HRForecast-WFM Chart Parser

From Project

Back to project page HRForecast-WFM.


The source code is released under:

Copyright 2014 Ahmed Shafei

If you think the Android project HRForecast-WFM listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.hrf.workforcemanagement.parser;
//www.j a  v  a 2 s  .c o  m

import org.simpleframework.xml.Serializer;
import org.simpleframework.xml.core.Persister;

import de.hrf.workforcemanagement.models.Chart;

public class ChartParser {

  public static boolean DEBUG = true;

  public ChartParser() {


  public Chart parseXml(InputStream xmlObject) throws Exception {
    /* Deserializing an example object from example.xml */
    Serializer serializer = new Persister();
    Chart chart =, xmlObject);

    if (DEBUG) {
      // TODO call chart.toString() to return all of the chart details
    return chart;

Java Source Code List