Package org.foray.fotree.value

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


        }
        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

     * @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

        }
        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

Related Classes of org.foray.fotree.value.DtURI

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.