Package org.foray.fotree.fo.prop

Examples of org.foray.fotree.fo.prop.PdPrecedence


        }
        case POSITION: {
            return new PdPosition(fobj, propertyFullName, attributeValue);
        }
        case PRECEDENCE: {
            return new PdPrecedence(fobj, propertyFullName, attributeValue);
        }
        case PROVISIONAL_DISTANCE_BETWEEN_STARTS: {
            return new PdProvisionalDistanceBetweenStarts(fobj,
                    propertyFullName, attributeValue);
        }
View Full Code Here


     * Returns the precedence property.
     * @param fobj The FObj to which the property belongs.
     * @return The precedence property.
     */
    public boolean getPrecedence(final FObj fobj) {
        final PdPrecedence property = (PdPrecedence) getProperty(
                FoProperty.PRECEDENCE);
        /* Null context is OK, because the object this applies to cannot be
         * insider a marker. */
        final FoContext context = null;
        if (property != null) {
            return property.getValue(context, fobj);
        }
        return PdPrecedence.getValueNoInstance();
    }
View Full Code Here

TOP

Related Classes of org.foray.fotree.fo.prop.PdPrecedence

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.