Package com.volantis.mcs.context

Examples of com.volantis.mcs.context.FormatReferenceFinder


        int[] indeces = new int[values.length - 1];
        for (int i = 0; i < indeces.length; i += 1) {
            indeces[i] = getIntValue(values[i + 1]);
        }

        FormatReferenceFinder formatReferenceFinder =
                pageContext.getFormatReferenceFinder();
        FormatReference reference =
                formatReferenceFinder.getFormatReference(name, indeces);

        return new FormatReferenceValueImpl(
                expressionContext.getFactory(), reference);
    }
View Full Code Here


        int indeces[] = new int[arguments.size() - 1];
        for (int i = 0; i < indeces.length; i++) {
            indeces[i] = getArgumentAsInt(name, arguments, i + 1);
        }

        FormatReferenceFinder finder = (FormatReferenceFinder)
                context.getProperty(FormatReferenceFinder.class);
        FormatReference reference = finder.getFormatReference(
                containerName, indeces);

        return new StyleFormatReference(reference);
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.context.FormatReferenceFinder

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.