|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- Data typepublic interface ReferenceFactory<T>
Factory for Reference types.
Method Summary | |
---|---|
nextgrid.api.pom.Reference<?> |
createReference(T data)
Creates a reference instance for the given data value. |
java.net.URI[] |
getSupportedTypes()
Gets a list of supported types for this instance. |
boolean |
supports(java.lang.Class<?> c)
Gets if this factory supports casting to the given class. |
java.lang.Class<?> |
toClass(java.net.URI type)
Gets an appropriate Java Class for handling data of the specified type. |
Method Detail |
---|
nextgrid.api.pom.Reference<?> createReference(T data)
data
- A data value
java.net.URI[] getSupportedTypes()
java.lang.Class<?> toClass(java.net.URI type)
type
- A type URI
boolean supports(java.lang.Class<?> c)
c
- The class to test
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |