org.apache.cocoon.woody.formmodel
Class NewDefinition
java.lang.Object
org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition
org.apache.cocoon.woody.formmodel.NewDefinition
- All Implemented Interfaces:
- WidgetDefinition
public class NewDefinition
- extends AbstractWidgetDefinition
This is the "WidgetDefinition
" which is used to instantiate a
ClassDefinition
. The resolve step replaces this definition with
the definitions contained in the referenced ClassDefinition
.
- Version:
- $Id: NewDefinition.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Timothy Larson
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 |
NewDefinition
public NewDefinition()
resolve
public void resolve(List parents,
WidgetDefinition parent)
throws Exception
- Throws:
Exception
createInstance
public Widget createInstance()
- Description copied from interface:
WidgetDefinition
- Creates and returns a widget based on this widget definition.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.