public static class Key.Factory extends AbstractFactory implements PropertyFactory<Key>
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
Key |
createProperty(Group group,
java.util.List<Parameter> params,
java.lang.String value) |
Key |
createProperty(java.util.List<Parameter> params,
java.lang.String value) |
supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supports
public Key createProperty(java.util.List<Parameter> params, java.lang.String value) throws org.apache.commons.codec.DecoderException, java.net.URISyntaxException
createProperty
in interface PropertyFactory<Key>
params
- property parameters used to construct a new instancevalue
- a property value used to construct a new instanceorg.apache.commons.codec.DecoderException
- where an invalid encoded value is specified in the property valuejava.net.URISyntaxException
- where an invalid URL is specified in the property valuepublic Key createProperty(Group group, java.util.List<Parameter> params, java.lang.String value) throws org.apache.commons.codec.DecoderException, java.net.URISyntaxException
createProperty
in interface PropertyFactory<Key>
group
- the property groupparams
- property parameters used to construct a new instancevalue
- a property value used to construct a new instanceorg.apache.commons.codec.DecoderException
- where an invalid encoded value is specified in the property valuejava.net.URISyntaxException
- where an invalid URL is specified in the property value