|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.property.basic.BasicPropertyFactory
@Immutable public class BasicPropertyFactory
A basic PropertyFactory
implementation.
Constructor Summary | |
---|---|
BasicPropertyFactory(ValueFactories valueFactories)
|
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,
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicPropertyFactory(ValueFactories valueFactories)
valueFactories
- the value factories
IllegalArgumentException
- if the reference to the value factories is nullMethod Detail |
---|
public Property create(Name name, Iterable<?> values)
create
in interface PropertyFactory
name
- the property name; may not be nullvalues
- the values
public Property create(Name name, Iterator<?> values)
create
in interface PropertyFactory
name
- the property name; may not be nullvalues
- the values
public Property create(Name name, Object... values)
create
in interface PropertyFactory
name
- the property name; may not be nullvalues
- the values
public Property create(Name name, PropertyType desiredType, Object... values)
create
in interface PropertyFactory
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
public Property create(Name name, PropertyType desiredType, Iterable<?> values)
create
in interface PropertyFactory
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
public Property create(Name name, PropertyType desiredType, Iterator<?> values)
create
in interface PropertyFactory
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |