T
- the object typepublic interface ObjectDefinition<T>
Modifier and Type | Method and Description |
---|---|
String |
asString(T object)
Represent the given object as a definition string, so that it can be used
to again create an object instance using
parse(String) . |
String |
getIdentifier()
Get the factory identifier.
|
Class<T> |
getObjectClass()
Get the class of the supported object.
|
T |
parse(String value)
Parse the given definition string and create an object instance.
|
String getIdentifier()
:
Class<T> getObjectClass()
T parse(String value)
value
- the definition string to parsenull
String asString(T object)
parse(String)
.object
- the object to create a string representation forBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a