Examples of DtURI


Examples of org.foray.fotree.value.DtURI

        final List<String> tokenizedList = DtURI.tokenizeURIList(value);
        if (tokenizedList.size() > 0) {
            final ValueCollection collection = new ValueCollection();
            for (int i = 0; i < tokenizedList.size(); i++) {
                final String token = tokenizedList.get(i);
                final DtURI uri = DtURI.makeUriDT(token);
                if (uri != null) {
                    collection.addItem(uri);
                }
            }
            return collection;
View Full Code Here

Examples of org.foray.fotree.value.DtURI

        }
        if (value() instanceof ValueCollection) {
            final ValueCollection theCollection = (ValueCollection) value();
            final String[] returnArray = new String[theCollection.getCount()];
            for (int i = 0; i < theCollection.getCount(); i++) {
                final DtURI value = (DtURI) theCollection.getItem(i);
                returnArray[i] = value.getValue();
            }
            return returnArray;
        }
        throw this.unexpectedRetrieval();
    }
View Full Code Here

Examples of org.foray.fotree.value.DtURI

     * @param value The property value to be tested.
     * @return The property value's underlying URI value.
     */
    protected String evalUri(final PropertyValue value) {
        if (value instanceof DtURI) {
            final DtURI uri = (DtURI) value;
            return uri.getValue();
        }
        throw this.unexpectedRetrieval();
    }
View Full Code Here

Examples of org.foray.fotree.value.DtURI

        }
        final DtColor color = DtColor.makeDtColor(input);
        if (color != null) {
            return FoProperty.BACKGROUND_COLOR;
        }
        final DtURI uri = DtURI.makeUriDT(input);
        if (uri != null) {
            return FoProperty.BACKGROUND_IMAGE;
        }
        final DtLength length = DtLength.makeLengthDT(input);
        if (length != null) {
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.