Package gri.data.serializers.jdom

Examples of gri.data.serializers.jdom.ArraySerializer


    }
    public String listJobs() throws IOException {
        JobInfo [] infos = getJobManager().listJobs();

        Element elem = new Element("jobInfoList");
        ArraySerializer serializer = new ArraySerializer(serializers.getJobInfoSerializer(), "jobInfo");
        serializer.write(infos, elem);
        return serviceUtil.writeXML(elem);
    }
View Full Code Here


    }
   
    // -------------------------------------------------------------- Task Info
   
    public ArraySerializer getTaskListSerializer() {
      return new ArraySerializer(Serializers.STRING_SERIALIZER, "task");
    }
View Full Code Here

    }
    public String listWorkflows() throws IOException {
        WorkflowInfo [] infos = getWorkflowManager().listWorkflows();

        Element elem = new Element("workflowInfoList");
        ArraySerializer serializer = new ArraySerializer(serializers.getWorkflowInfoSerializer(), "jobInfo");
        serializer.write(infos, elem);
        return xmlUtil.writeXML(elem);
    }
View Full Code Here

TOP

Related Classes of gri.data.serializers.jdom.ArraySerializer

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.