162163164165166167168169
// Raw-Values should not have been created for number values throw new FunctionEvaluationException("Not a numeric value."); } final Double obj = new Double(number); return new FormattedContentToken (obj, format, format.format(obj)); }
197198199200201202203204
else { throw new FunctionEvaluationException("Not a date value."); } return new FormattedContentToken (date, format, format.format(date)); }
69707172737475
(layoutProcess.getDocumentContext()); final DateFormat format = getDateFormat (parameters, localizationContext, element.getLayoutContext().getLanguage()); return new FormattedContentToken(date, format, format.format(date)); }
(layoutProcess.getDocumentContext()); DateFormat format = getDateFormat (parameters, localizationContext, element.getLayoutContext().getLanguage()); return new FormattedContentToken(date, format, format.format(date)); }