|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ThreadSafe public interface PropertyFactory
A factory for creating Property
objects.
Method Summary | |
---|---|
Property |
create(Name name,
Iterable<?> values)
Create a property with the supplied name and values |
Property |
create(Name name,
Iterator<?> values)
Create a property with the supplied name and values |
Property |
create(Name name,
Object... values)
Create a property with the supplied name and values |
Property |
create(Name name,
Path value)
Create a property with the supplied name and Path value. |
Property |
create(Name name,
PropertyType desiredType,
Iterable<?> values)
Create a property with the supplied name and values |
Property |
create(Name name,
PropertyType desiredType,
Iterator<?> values)
Create a property with the supplied name and values |
Property |
create(Name name,
PropertyType desiredType,
Object... values)
Create a property with the supplied name and values |
Method Detail |
---|
Property create(Name name, Object... values)
name
- the property name; may not be nullvalues
- the values
Property create(Name name, Iterable<?> values)
name
- the property name; may not be nullvalues
- the values
Property create(Name name, Iterator<?> values)
name
- the property name; may not be nullvalues
- the values
Property create(Name name, PropertyType desiredType, Object... values)
name
- the property name; may not be nulldesiredType
- the type that the objects should be converted to; if null, they will be used as isvalues
- the values
Property create(Name name, PropertyType desiredType, Iterable<?> values)
name
- the property name; may not be nulldesiredType
- the type that the objects should be converted to; if null, they will be used as isvalues
- the values
Property create(Name name, PropertyType desiredType, Iterator<?> values)
name
- the property name; may not be nulldesiredType
- the type that the objects should be converted to; if null, they will be used as isvalues
- the values
Property create(Name name, Path value)
Path
value. This method is provided because Path implements
Iterable<Segment>.
name
- the property name; may not be nullvalue
- the path value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |