org.jboss.errai.databinding.rebind
Class DataBindingValidator
java.lang.Object
org.jboss.errai.databinding.rebind.DataBindingValidator
public class DataBindingValidator
- extends Object
Validation utilities for data binding.
- Author:
- Christian Sadilek , Jonathan Fuerth
Method Summary |
static boolean |
isValidPropertyChain(MetaClass bindableType,
String propertyChain)
Returns true if and only if the given property chain is a valid property expression rooted in the given bindable
type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isValidPropertyChain
public static boolean isValidPropertyChain(MetaClass bindableType,
String propertyChain)
- Returns true if and only if the given property chain is a valid property expression rooted in the given bindable
type.
- Parameters:
bindableType
- The root type the given property chain is resolved against. Not null.propertyChain
- The data binding property chain to validate. Not null.
- Returns:
- True if the given property chain is resolvable from the given bindable type.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.