Examples of DtString


Examples of org.foray.fotree.value.DtString

            throws PropertyException {
        final PropertyParser parser = new PropertyParser(fobj, expr,
                propertyType);
        PropertyValue pv = parser.parseProperty();
        if (pv == null) {
            pv = new DtString(expr);
        }
        return pv;
    }
View Full Code Here

Examples of org.foray.fotree.value.DtString

     */
    private PropertyValue parseProperty() throws PropertyException {
        next();
        if (getCurrentToken() == TOK_EOF) {
            // if prop value is empty string, force to StringProperty
            return new DtString("");
        }
        while (true) {
            final PropertyValue prop = parseAdditiveExpr();
            if (getCurrentToken() == TOK_EOF) {
                return prop;
View Full Code Here

Examples of org.foray.fotree.value.DtString

            prop = parseInnerExpression();
            expectRpar();
            return prop;

        case TOK_LITERAL:
            prop = new DtString(getCurrentTokenValue());
            break;

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

Examples of org.foray.fotree.value.DtString

                    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();
                }
            }
            return returnArray;
View Full Code Here

Examples of org.foray.fotree.value.DtString

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

Examples of org.foray.fotree.value.DtString

        pv = DtURI.makeUriDT(value);
        if (pv != null) {
            return pv;
        }
        if (value.length() != 0) {
            return new DtString(value);
        }
        throw unexpectedValue(value, fobj);
    }
View Full Code Here

Examples of org.foray.fotree.value.DtString

     * @param attributeValue The unparsed property value.
     * @throws PropertyException For an invalid property value.
     */
    public AbstractString(final FObj fobj, final String propertyFullName,
            final String attributeValue) throws PropertyException {
        this.value = new DtString(attributeValue);
    }
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.