T
- the property type created by the factory
$Id$
Created on: 30/10/2008public interface PropertyFactory<T extends Property>
Modifier and Type | Method and Description |
---|---|
T |
createProperty(Group group,
java.util.List<Parameter> params,
java.lang.String value) |
T |
createProperty(java.util.List<Parameter> params,
java.lang.String value) |
boolean |
supports(java.lang.String id) |
T createProperty(java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException, java.text.ParseException, org.apache.commons.codec.DecoderException
params
- property parameters used to construct a new instancevalue
- a property value used to construct a new instancejava.net.URISyntaxException
- where an invalid URL is specified in the property valuejava.text.ParseException
- where an invalid date string is specified in the property valueorg.apache.commons.codec.DecoderException
- where an invalid encoded value is specified in the property valueT createProperty(Group group, java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException, java.text.ParseException, org.apache.commons.codec.DecoderException
group
- the property groupparams
- property parameters used to construct a new instancevalue
- a property value used to construct a new instancejava.net.URISyntaxException
- where an invalid URL is specified in the property valuejava.text.ParseException
- where an invalid date string is specified in the property valueorg.apache.commons.codec.DecoderException
- where an invalid encoded value is specified in the property valueboolean supports(java.lang.String id)