public static class Sound.Factory extends AbstractFactory implements PropertyFactory<Sound>
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
Sound |
createProperty(Group group,
java.util.List<Parameter> params,
java.lang.String value) |
Sound |
createProperty(java.util.List<Parameter> params,
java.lang.String value) |
supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supports
public Sound createProperty(java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException, org.apache.commons.codec.DecoderException
createProperty
in interface PropertyFactory<Sound>
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 valueorg.apache.commons.codec.DecoderException
- where an invalid encoded value is specified in the property valuepublic Sound createProperty(Group group, java.util.List<Parameter> params, java.lang.String value) throws java.net.URISyntaxException, java.text.ParseException
createProperty
in interface PropertyFactory<Sound>
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 value