public class PropertyFactoryImpl extends AbstractContentFactory implements PropertyFactory
Modifier | Constructor and Description |
---|---|
protected |
PropertyFactoryImpl()
Constructor made private to prevent instantiation.
|
Modifier and Type | Method and Description |
---|---|
Property |
createProperty(java.lang.String name) |
Property |
createProperty(java.lang.String name,
ParameterList parameters,
java.lang.String value) |
static PropertyFactoryImpl |
getInstance() |
allowIllegalNames, getFactory, registerDefaultFactory, registerExtendedFactory
protected PropertyFactoryImpl()
public static PropertyFactoryImpl getInstance()
public Property createProperty(java.lang.String name)
createProperty
in interface PropertyFactory
name
- a property namepublic Property createProperty(java.lang.String name, ParameterList parameters, java.lang.String value) throws java.io.IOException, java.net.URISyntaxException, java.text.ParseException
createProperty
in interface PropertyFactory
name
- a property nameparameters
- a list of property parametersvalue
- a property valuejava.io.IOException
- where an unexpected error occurs reading datajava.net.URISyntaxException
- where data contains an invalid URIjava.text.ParseException
- where data is unable to be parsed correctly