Package org.apache.fop.afp.modca.triplets

Examples of org.apache.fop.afp.modca.triplets.AbstractTriplet


    protected int getTripletDataLength() {
        int dataLength = 0;
        if (hasTriplets()) {
            Iterator it = triplets.iterator();
            while (it.hasNext()) {
                AbstractTriplet triplet = (AbstractTriplet)it.next();
                dataLength += triplet.getDataLength();
            }
        }
        return dataLength;
    }
View Full Code Here


     * @param tripletId the triplet identifier
     */
    private AbstractTriplet getTriplet(byte tripletId) {
        Iterator it = getTriplets().iterator();
        while (it.hasNext()) {
            AbstractTriplet triplet = (AbstractTriplet)it.next();
            if (triplet.getId() == tripletId) {
                return triplet;
            }
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.fop.afp.modca.triplets.AbstractTriplet

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.