You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gr...@apache.org on 2005/07/08 17:51:27 UTC
svn commit: r209822 -
/myfaces/api/trunk/src/java/javax/faces/el/ValueBinding.java
Author: grantsmith
Date: Fri Jul 8 08:51:26 2005
New Revision: 209822
URL: http://svn.apache.org/viewcvs?rev=209822&view=rev
Log:
MYFACES-312: Patch submitted by Mathias Broekelmann
Modified:
myfaces/api/trunk/src/java/javax/faces/el/ValueBinding.java
Modified: myfaces/api/trunk/src/java/javax/faces/el/ValueBinding.java
URL: http://svn.apache.org/viewcvs/myfaces/api/trunk/src/java/javax/faces/el/ValueBinding.java?rev=209822&r1=209821&r2=209822&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/el/ValueBinding.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/el/ValueBinding.java Fri Jul 8 08:51:26 2005
@@ -1,12 +1,12 @@
/*
* Copyright 2004 The Apache Software Foundation.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,17 +23,22 @@
*/
public abstract class ValueBinding
{
- abstract public String getExpressionString();
+ private String _expressionString = null;
- abstract public Class getType(FacesContext facesContext)
- throws EvaluationException, PropertyNotFoundException;
+ public String getExpressionString()
+ {
+ return _expressionString;
+ }
- public abstract Object getValue(FacesContext facesContext)
- throws EvaluationException, PropertyNotFoundException;
+ abstract public Class getType(FacesContext facesContext)
+ throws EvaluationException, PropertyNotFoundException;
- public abstract boolean isReadOnly(FacesContext facesContext)
- throws EvaluationException, PropertyNotFoundException;
+ public abstract Object getValue(FacesContext facesContext)
+ throws EvaluationException, PropertyNotFoundException;
- public abstract void setValue(FacesContext facesContext, Object value)
- throws EvaluationException, PropertyNotFoundException;
+ public abstract boolean isReadOnly(FacesContext facesContext)
+ throws EvaluationException, PropertyNotFoundException;
+
+ public abstract void setValue(FacesContext facesContext, Object value)
+ throws EvaluationException, PropertyNotFoundException;
}