Package edu.indiana.dlib.metsnav.mets.v1_5

Examples of edu.indiana.dlib.metsnav.mets.v1_5.Div


    protected java.util.List<AtomicItem> parsePhysicalStruct(Div div) throws DAOException {
        Div[] divs = div.getDiv();
        // Sort the divs
        List<AtomicItem> list = new ArrayList<AtomicItem>(divs.length);
        for (int index = 0; index < divs.length; index++) {
            Div d = divs[index];
            if ("page".equals(d.getTYPE())) {
                Fptr fptr = d.getFptr(0);
                File file = (File) fptr.getFILEID();
                String groupId = file.getGROUPID();
                int size = list.size();
                if (size == 0 || (size > 0 && !(groupId.equals(list.get(size - 1).getId())))) {
                    AtomicItem item = parsePage(d);
View Full Code Here

TOP

Related Classes of edu.indiana.dlib.metsnav.mets.v1_5.Div

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.