Package uk.ac.starlink.datanode.factory
Class VODataNodeBuilder
java.lang.Object
uk.ac.starlink.datanode.factory.DataNodeBuilder
uk.ac.starlink.datanode.factory.VODataNodeBuilder
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class uk.ac.starlink.datanode.factory.DataNodeBuilder
getBuilders, getNodeClass
-
Constructor Details
-
VODataNodeBuilder
public VODataNodeBuilder()
-
-
Method Details
-
suitable
Description copied from class:DataNodeBuilder
Determine whether this builder can be used to work on an object of a given class.- Specified by:
suitable
in classDataNodeBuilder
- Parameters:
objClass
- the class of an object which might be passed as the argument of buildNode- Returns:
- whether it's OK to do that
-
buildNode
Description copied from class:DataNodeBuilder
Builds a DataNode from a given object.- Specified by:
buildNode
in classDataNodeBuilder
- Parameters:
obj
- the object to build a datanode from- Returns:
- a new DataNode made from obj
- Throws:
NoSuchDataException
- if no new node can be created
-