SRJRCFrames
v0.1.296

de.schwarzrot.ui.validation.constraints
Class VCSupportedCharset<E extends Entity>

java.lang.Object
  extended by de.schwarzrot.ui.validation.constraints.AbstractValidationConstraint<E>
      extended by de.schwarzrot.ui.validation.constraints.VCSupportedCharset<E>
Type Parameters:
E - the bean managed by the presentation model
All Implemented Interfaces:
ValidationConstraint

public class VCSupportedCharset<E extends Entity>
extends AbstractValidationConstraint<E>

validates whether the content of property to check is a supported charset in the current jvm.

Author:
Reinhard Mantey

Constructor Summary
VCSupportedCharset(com.jgoodies.binding.PresentationModel<E> model, String propertyName)
           
 
Method Summary
 boolean matches()
          the validation kernel
 
Methods inherited from class de.schwarzrot.ui.validation.constraints.AbstractValidationConstraint
getLogger, getModel, getPropertyName, getValue, getValue, setModel, setPropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCSupportedCharset

public VCSupportedCharset(com.jgoodies.binding.PresentationModel<E> model,
                          String propertyName)
Method Detail

matches

public boolean matches()
Description copied from interface: ValidationConstraint
the validation kernel

Returns:
true - if the property passed validation

false - if the property failed on validation


SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.