Examples of DtName


Examples of org.foray.fotree.value.DtName

            prop = new DtString(getCurrentTokenValue());
            break;

        case TOK_NCNAME:
            // Interpret this in context of the property or do it later?
            prop = new DtName(getCurrentTokenValue());
            break;

        case TOK_FLOAT:
            final double floatValue = Double.parseDouble(
                    getCurrentTokenValue());
View Full Code Here

Examples of org.foray.fotree.value.DtName

                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;
                    returnArray[i] = stringDT.getValue();
                } else {
                    throw this.unexpectedRetrieval();
View Full Code Here

Examples of org.foray.fotree.value.DtName

     * @return The parsed, storable property value.
     * @throws PropertyException For an invalid property value.
     */
    private PropertyValue createPropertyValue(final FObj fobj,
            final String value) throws PropertyException {
        final DtName pv = DtName.makeNameDT(value);
        if (pv == null) {
            throw unexpectedValue(value, fobj, "Invalid NCName");
        }
        return pv;
    }
View Full Code Here

Examples of org.foray.fotree.value.DtName

                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
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.