org.apache.cocoon.woody.formmodel
Class UploadDefinition

java.lang.Object
  extended by org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition
      extended by org.apache.cocoon.woody.formmodel.UploadDefinition
All Implemented Interfaces:
WidgetDefinition

public class UploadDefinition
extends AbstractWidgetDefinition

The definition of an upload widget.

Version:
CVS $Id: UploadDefinition.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Upayavira, Sylvain Wallez

Field Summary
 
Fields inherited from class org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition
parent
 
Constructor Summary
UploadDefinition(boolean required, String mimeTypes)
           
 
Method Summary
 Widget createInstance()
          Creates and returns a widget based on this widget definition.
 String getMimeTypes()
           
 boolean isRequired()
           
 
Methods inherited from class org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition
addValidator, generateDisplayData, generateDisplayData, generateLabel, getFormDefinition, getId, getLocation, getParent, setDisplayData, setId, setLocation, setParent, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadDefinition

public UploadDefinition(boolean required,
                        String mimeTypes)
Method Detail

createInstance

public Widget createInstance()
Description copied from interface: WidgetDefinition
Creates and returns a widget based on this widget definition.


isRequired

public boolean isRequired()

getMimeTypes

public String getMimeTypes()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.