|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeFactory
Spark IO is used to create external forms of spark values. For SO (object) and SA (array) values there is a need to map back and forth between the external form and the internal class structure. A TypeFactory performs this function. Various implementations of this interface can do this in various ways.
Method Summary | |
---|---|
java.lang.String |
externalTypeName(SO obj)
This will return the externalTypeName to be used to represent the object externally. |
SA |
makeArray()
SAs are not typed generally. |
SO |
makeObject(java.lang.String externalTypeName)
Given an external type name this will create an SO of the correct internal type. |
Method Detail |
---|
SO makeObject(java.lang.String externalTypeName)
externalTypeName
- the name used in the external representation
for an object type.
SA makeArray()
java.lang.String externalTypeName(SO obj)
obj
- the object whose type is to be represented.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |