org.mmbase.datatypes.handlers.html
Class EnumHandler

java.lang.Object
  extended by org.mmbase.datatypes.handlers.AbstractHandler<String>
      extended by org.mmbase.datatypes.handlers.html.HtmlHandler
          extended by org.mmbase.datatypes.handlers.html.EnumHandler
All Implemented Interfaces:
Serializable, Handler<String>

public class EnumHandler
extends HtmlHandler

Since:
MMBase-1.9.1
Version:
$Id: EnumHandler.java 34900 2009-05-01 16:29:42Z michiel $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mmbase.datatypes.handlers.html.HtmlHandler
SESSIONNAME, XML
 
Constructor Summary
EnumHandler()
           
 
Method Summary
protected  Iterator<Map.Entry<Object,String>> getIterator(Request request, Node node, Field field)
           
 String input(Request request, Node node, Field field, boolean search)
          Produces an form input field for the given Node, and Field.
 
Methods inherited from class org.mmbase.datatypes.handlers.html.HtmlHandler
appendClasses, appendNameId, check, id, prefixError, setSetIfNotChanged
 
Methods inherited from class org.mmbase.datatypes.handlers.AbstractHandler
cast, findString, getFieldValue, getFieldValue, getOperator, getSearchValue, getValue, id, interpretEmptyAsNull, search, set, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumHandler

public EnumHandler()
Method Detail

getIterator

protected Iterator<Map.Entry<Object,String>> getIterator(Request request,
                                                         Node node,
                                                         Field field)

input

public String input(Request request,
                    Node node,
                    Field field,
                    boolean search)
Description copied from interface: Handler
Produces an form input field for the given Node, and Field.

Specified by:
input in interface Handler<String>
Specified by:
input in class AbstractHandler<String>
search - if true, then a search field is produced.


MMBase 2.0-SNAPSHOT - null