private void evaluateExpressions() throws JspException {
        Object obj = null;

        /* 
         * Note: we don't check for type mismatches here; we assume
         * the expression evaluator will return the expected type
         * (by virtue of knowledge we give it about what that type is).
         * A ClassCastException here is truly unexpected, so we let it
         * propagate up.
         */

        // 'value' attribute
        if (value_ != null) {
            value = ExpressionEvaluatorManager.evaluate(
                    "value", value_, Object.class, this, pageContext);
        }

        // 'type' attribute
        if (type_ != null) {
            type = (String) ExpressionEvaluatorManager.evaluate(
                    "type", type_, String.class, this, pageContext);
        }

        // 'pattern' attribute
        if (pattern_ != null) {
            pattern = (String) ExpressionEvaluatorManager.evaluate(
                    "pattern", pattern_, String.class, this, pageContext);
        }

        // 'currencyCode' attribute
        if (currencyCode_ != null) {
            currencyCode = (String) ExpressionEvaluatorManager.evaluate(
                    "currencyCode", currencyCode_, String.class, this,
                    pageContext);
        }

        // 'currencySymbol' attribute
        if (currencySymbol_ != null) {
            currencySymbol = (String) ExpressionEvaluatorManager.evaluate(
                    "currencySymbol", currencySymbol_, String.class, this,
                    pageContext);
        }

        // 'groupingUsed' attribute
        if (groupingUsed_ != null) {
            obj = ExpressionEvaluatorManager.evaluate(
                    "groupingUsed", groupingUsed_, Boolean.class, this,
                    pageContext);
            if (obj != null) {
                isGroupingUsed = ((Boolean) obj).booleanValue();
            }
        }

        // 'maxIntegerDigits' attribute
        if (maxIntegerDigits_ != null) {
            obj = ExpressionEvaluatorManager.evaluate(
                    "maxIntegerDigits", maxIntegerDigits_, Integer.class, this,
                    pageContext);
            if (obj != null) {
                maxIntegerDigits = ((Integer) obj).intValue();
            }
        }

        // 'minIntegerDigits' attribute
        if (minIntegerDigits_ != null) {
            obj = ExpressionEvaluatorManager.evaluate(
                    "minIntegerDigits", minIntegerDigits_, Integer.class, this,
                    pageContext);
            if (obj != null) {
                minIntegerDigits = ((Integer) obj).intValue();
            }
        }

        // 'maxFractionDigits' attribute
        if (maxFractionDigits_ != null) {
            obj = ExpressionEvaluatorManager.evaluate(
                    "maxFractionDigits", maxFractionDigits_, Integer.class, this,
                    pageContext);
            if (obj != null) {
                maxFractionDigits = ((Integer) obj).intValue();
            }
        }

        // 'minFractionDigits' attribute
        if (minFractionDigits_ != null) {
            obj = ExpressionEvaluatorManager.evaluate(
                    "minFractionDigits", minFractionDigits_, Integer.class, this,
                    pageContext);
            if (obj != null) {
                minFractionDigits = ((Integer) obj).intValue();
            }
        }
    }
private void evaluateExpressions ( ) throws JspException { Object obj = null ; if ( value_ != null ) { value = ExpressionEvaluatorManager . evaluate ( "value" , value_ , Object . class , this , pageContext ) ; } if ( type_ != null ) { type = ( String ) ExpressionEvaluatorManager . evaluate ( "type" , type_ , String . class , this , pageContext ) ; } if ( pattern_ != null ) { pattern = ( String ) ExpressionEvaluatorManager . evaluate ( "pattern" , pattern_ , String . class , this , pageContext ) ; } if ( currencyCode_ != null ) { currencyCode = ( String ) ExpressionEvaluatorManager . evaluate ( "currencyCode" , currencyCode_ , String . class , this , pageContext ) ; } if ( currencySymbol_ != null ) { currencySymbol = ( String ) ExpressionEvaluatorManager . evaluate ( "currencySymbol" , currencySymbol_ , String . class , this , pageContext ) ; } if ( groupingUsed_ != null ) { obj = ExpressionEvaluatorManager . evaluate ( "groupingUsed" , groupingUsed_ , Boolean . class , this , pageContext ) ; if ( obj != null ) { isGroupingUsed = ( ( Boolean ) obj ) . booleanValue ( ) ; } } if ( maxIntegerDigits_ != null ) { obj = ExpressionEvaluatorManager . evaluate ( "maxIntegerDigits" , maxIntegerDigits_ , Integer . class , this , pageContext ) ; if ( obj != null ) { maxIntegerDigits = ( ( Integer ) obj ) . intValue ( ) ; } } if ( minIntegerDigits_ != null ) { obj = ExpressionEvaluatorManager . evaluate ( "minIntegerDigits" , minIntegerDigits_ , Integer . class , this , pageContext ) ; if ( obj != null ) { minIntegerDigits = ( ( Integer ) obj ) . intValue ( ) ; } } if ( maxFractionDigits_ != null ) { obj = ExpressionEvaluatorManager . evaluate ( "maxFractionDigits" , maxFractionDigits_ , Integer . class , this , pageContext ) ; if ( obj != null ) { maxFractionDigits = ( ( Integer ) obj ) . intValue ( ) ; } } if ( minFractionDigits_ != null ) { obj = ExpressionEvaluatorManager . evaluate ( "minFractionDigits" , minFractionDigits_ , Integer . class , this , pageContext ) ; if ( obj != null ) { minFractionDigits = ( ( Integer ) obj ) . intValue ( ) ; } } }
Evaluates expressions as necessary