public interface Factory
Modifier and Type | Method and Description |
---|---|
<T> T |
create(java.lang.String value,
java.lang.String type)
Creates a strongly-typed instance of any kind of Java Object with the
given printed representation and Java type.
|
java.lang.Object |
createObject(java.lang.String value,
java.lang.String type)
Creates an instance of any type of Object, with the given value.
|
<T> T create(java.lang.String value, java.lang.String type)
T
- the returned object type.value
- the value, as a String.type
- the Java type, as a String.java.lang.Object createObject(java.lang.String value, java.lang.String type)
value
- the value, as a String.type
- the type, as a String.