StringUIType.java :  » Web-Framework » RSF » uk » org » ponder » rsf » uitype » Java Open Source

Java Open Source » Web Framework » RSF 
RSF » uk » org » ponder » rsf » uitype » StringUIType.java
/*
 * Created on Nov 11, 2005
 */
package uk.org.ponder.rsf.uitype;

public class StringUIType implements UIType {
  public static final StringUIType instance = new StringUIType();
  public String PLACEHOLDER = new String("");
  public Object getPlaceholder() {
    return PLACEHOLDER;
  }
  public String getName() {
    return "string";
  }
  public boolean valueUnchanged(Object oldvalue, Object newvalue) {
    return oldvalue.equals(newvalue);
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.