org.apache.cocoon.woody.formmodel
Class AggregateFieldDefinition
java.lang.Object
org.apache.cocoon.woody.formmodel.AbstractWidgetDefinition
org.apache.cocoon.woody.formmodel.AbstractDatatypeWidgetDefinition
org.apache.cocoon.woody.formmodel.FieldDefinition
org.apache.cocoon.woody.formmodel.AggregateFieldDefinition
- All Implemented Interfaces:
- Serviceable, WidgetDefinition
public class AggregateFieldDefinition
- extends FieldDefinition
The WidgetDefinition
part of a AggregateField widget, see AggregateField
for more information.
- Version:
- $Id: AggregateFieldDefinition.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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 |
splitFailMessage
protected XMLizable splitFailMessage
- Message to be displayed when the
splitPattern
does not match what the user entered. Optional.
AggregateFieldDefinition
public AggregateFieldDefinition()
addWidgetDefinition
public void addWidgetDefinition(WidgetDefinition widgetDefinition)
throws DuplicateIdException
- Throws:
DuplicateIdException
hasWidget
public boolean hasWidget(String id)
setCombineExpression
protected void setCombineExpression(org.outerj.expression.Expression expression)
getCombineExpression
public org.outerj.expression.Expression getCombineExpression()
setSplitPattern
protected void setSplitPattern(org.apache.oro.text.regex.Pattern pattern,
String regexp)
getSplitPattern
public org.apache.oro.text.regex.Pattern getSplitPattern()
getSplitRegexp
public String getSplitRegexp()
getSplitFailMessage
public XMLizable getSplitFailMessage()
setSplitFailMessage
protected void setSplitFailMessage(XMLizable splitFailMessage)
addSplitMapping
protected void addSplitMapping(int group,
String fieldId)
getSplitMappingsIterator
public Iterator getSplitMappingsIterator()
createInstance
public Widget createInstance()
- Description copied from interface:
WidgetDefinition
- Creates and returns a widget based on this widget definition.
- Specified by:
createInstance
in interface WidgetDefinition
- Overrides:
createInstance
in class FieldDefinition
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.