public interface PropertyFactory<T extends Property> extends Serializable
Type | Property and Description |
---|---|
T |
create |
Modifier and Type | Method and Description |
---|---|
T |
createProperty() |
T |
createProperty(ParameterList parameters,
String value) |
default T |
createProperty(String value)
Creates a property instance with no parameters.
|
boolean |
supports(String name) |
T createProperty()
default T createProperty(String value) throws URISyntaxException
value
- the property valueURISyntaxException
- some properties may throw this exception when parsing the property valueT createProperty(ParameterList parameters, String value) throws URISyntaxException
parameters
- a list of property parametersvalue
- a property valueURISyntaxException
- where data contains an invalid URIboolean supports(String name)