Package gov.nysenate.openleg.xml.calendar

Examples of gov.nysenate.openleg.xml.calendar.XMLSENATEDATA


    }

    public void process(File file, Storage storage) throws IOException, JAXBException {
        JAXBContext jc = JAXBContext.newInstance("gov.nysenate.openleg.xml.calendar");
        Unmarshaller u = jc.createUnmarshaller();
        XMLSENATEDATA senateData = (XMLSENATEDATA)u.unmarshal( new FileReader(file) );

        modifiedDate = null;
        try {
            modifiedDate = sobiDateFormat.parse(file.getName());
        } catch (ParseException e) {
            logger.error("Error parsing file date.", e);
        }

        ChangeLogger.setContext(file, modifiedDate);
        for(Object obj:senateData.getSencalendarOrSencalendaractive()) {

            Calendar calendar = null;
            String action = null;
            Supplemental supplemental = null;
View Full Code Here

TOP

Related Classes of gov.nysenate.openleg.xml.calendar.XMLSENATEDATA

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.