All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anosite.handler.validation.EmptyFormBean Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package net.anotheria.anosite.handler.validation;

import javax.servlet.http.HttpServletRequest;

/**
 * Clean form bean. Used in handlers where we don't need form bean and submit.
 * 
 * @author Alexandr Bolbat
 */
public final class EmptyFormBean extends AbstractFormBean {

	/**
	 * Basic serialVersionUID variable.
	 */
	private static final long serialVersionUID = 3888810209768869496L;

	@Override
	public final Object getFieldValue(String fieldName) {
		return EMPTY_STRING;
	}

	@Override
	protected final void prepare(HttpServletRequest req) {
	}


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy