Examples of toXslFo()


Examples of org.foray.fotree.axsl.AxslValue.toXslFo()

        final AxslEnumerated property = (AxslEnumerated) rawProperty;
        if (property == null) {
            return "";
        }
        final AxslValue value = property.getValue();
        return value.toXslFo();
    }

    /**
     * {@inheritDoc}
     */
 
View Full Code Here

Examples of org.foray.fotree.fo.FoValue.toXslFo()

            final String[] returnArray = new String[collection.getCount()];
            for (int i = 0; i < collection.getCount(); i++) {
                final PropertyValue pv = collection.getItem(i);
                if (pv.canEvalKeyword()) {
                    final FoValue foValue = this.convertValueToFoValue(pv);
                    returnArray[i] = foValue.toXslFo();
                } else if (pv instanceof DtName) {
                    final DtName dtName = (DtName) pv;
                    returnArray[i] = dtName.getValue();
                } else if (pv instanceof DtString) {
                    final DtString stringDT = (DtString) pv;
View Full Code Here

Examples of org.foray.fotree.fo.FoValue.toXslFo()

            }
            case MALE:
            case FEMALE:
            case CHILD: {
                final String[] returnArray
                        = {keyword.toXslFo()};
                return returnArray;
            }
            }
        }
        if (value() instanceof ValueCollection) {
View Full Code Here

Examples of org.foray.fotree.fo.FoValue.toXslFo()

            for (int i = 0; i < returnArray.length; i++) {
                final PropertyValue innerValue = collection.getItem(i);
                if (innerValue.canEvalKeyword()) {
                    final FoValue foValue = this.convertValueToFoValue(
                            innerValue);
                    returnArray[i] = foValue.toXslFo();
                } else if (innerValue instanceof DtName) {
                    final DtName name = (DtName) innerValue;
                    returnArray[i] = name.getValue();
                } else {
                    throw this.unexpectedRetrieval();
View Full Code Here

Examples of org.foray.fotree.fo.FoValue.toXslFo()

            case MEDIUM: {
                return DtBorderWidth.BORDER_WIDTH_MEDIUM;
            }
            default: {
                throw new IllegalStateException("Invalid keyword for "
                        + "border-width data type: " + keywordValue.toXslFo());
            }
            }
        }
        throw this.unexpectedRetrieval();
    }
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.