Package com.volantis.mcs.dissection

Examples of com.volantis.mcs.dissection.DissectedDocument


        DissectionURLManager urlManager = new MyDissectionURLManager();
        DocumentInformationImpl information = new DocumentInformationImpl();
        information.setDocumentURL(new MarinerURL("document-url.xml"));
        System.out.println("Page Size=" + pageSize);
        characteristics.setMaxPageSize(pageSize);
        DissectedDocument dissectedDocument =
                dissector.createDissectedDocument(context, characteristics,
                dissectionDocument, urlManager, information);

        // Interate over the shards.
        RequestedShards shards = dissectedDocument.createRequestedShards();
        int dissectableArea = 0;
        ShardIterator iterator =
                dissectedDocument.getShardIterator(context, dissectableArea);
        int count = 0;
        while (iterator.hasMoreShards()) {
            iterator.populateNextShard();
            count += 1;
        }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.dissection.DissectedDocument

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.