Examples of DtKeep


Examples of org.foray.fotree.value.DtKeep

        final PropertyValue pv = standardParse(fobj, value);
        if (pv.canEvalKeyword()) {
            return pv;
        }
        if (pv.canEvalInteger()) {
            return new DtKeep(pv, pv, pv);
        }
        throw unexpectedValue(value, fobj);
    }
View Full Code Here

Examples of org.foray.fotree.value.DtKeep

     */
    private PropertyValue createPropertyValueSpace(
            final FObj fobj, final String value,
            final String subPropertyName, final String propertyFullName)
            throws PropertyException {
        final DtKeep keepDT = createOrAddKeep(null, fobj, value,
                subPropertyName, propertyFullName);
        if (keepDT != null) {
            return keepDT;
        }
        throw unexpectedValue(value, fobj);
View Full Code Here

Examples of org.foray.fotree.value.DtKeep

                return Integer.MAX_VALUE;
            }
            }
        }
        if (value() instanceof DtKeep) {
            final DtKeep keepDT = (DtKeep) value();
            switch (subProperty) {
            case WITHIN_LINE: {
                return keepDT.getWithinLine();
            }
            case WITHIN_COLUMN: {
                return keepDT.getWithinColumn();
            }
            case WITHIN_PAGE: {
                return keepDT.getWithinPage();
            }
        }
        }
        throw this.unexpectedRetrieval();
    }
View Full Code Here

Examples of org.foray.fotree.value.DtKeep

            final String propertyFullName, final String attributeValue)
            throws PropertyException {
        if (! (value() instanceof DtKeep)) {
            return false;
        }
        DtKeep keepDT = (DtKeep) value();
        final String subPropertyName = Property.getSubPropertyName(
                propertyFullName);
        keepDT = createOrAddKeep(keepDT, fobj, attributeValue,
                subPropertyName, propertyFullName);
        return true;
View Full Code Here

Examples of org.foray.fotree.value.DtKeep

     */
    private DtKeep createOrAddKeep(final DtKeep inputKeepDT,
            final FObj fobj,
            final String value, final String subPropertyName,
            final String propertyFullName) throws PropertyException {
        DtKeep keepDT = inputKeepDT;
        if (keepDT == null) {
            keepDT = DtKeep.createKeepDT();
        }
        /*
         * Don't use the standard parsing for keywords, because we need a
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.