com.silvermindsoftware.hitch.binding
Class PropertyUtil

java.lang.Object
  extended by com.silvermindsoftware.hitch.binding.PropertyUtil

public final class PropertyUtil
extends Object

This utility class unifies creating Properties.

Author:
Stefan Wismer (SWI)
File-location:
PropertyUtil
Last check-in date:
2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883

Method Summary
static
<S,V> org.jdesktop.beansbinding.Property<S,V>
create(String expression)
          Create a Property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <S,V> org.jdesktop.beansbinding.Property<S,V> create(String expression)
Create a Property. If expression is empty, the property refers to the object itself. If expression contains a $, then it is parsed as ELProperty. Otherwise a simple BeanProperty is created.

Type Parameters:
S - the source type
V - the value type
Parameters:
expression - the expression to specify the property
Returns:
a Property according to the expression


Copyright © 2005-2011 ELCA. All Rights Reserved.