KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > text > template > ResourceBindingValue


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.text.template;
6
7 import org.exoplatform.commons.utils.ExpressionUtil;
8
9 /**
10  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
11  * @since Feb 2, 2005
12  * @version $Id$
13  */

14 public class ResourceBindingValue extends Value {
15   public String JavaDoc key_ ;
16   
17   public ResourceBindingValue(String JavaDoc expression) {
18     super(expression) ;
19     key_ = ExpressionUtil.removeBindingExpression(expression) ;
20   }
21   
22   public String JavaDoc getKey() { return key_ ; }
23 }
Popular Tags