public class FileDataNodeBuilder extends DataNodeBuilder
Modifier and Type | Method and Description |
---|---|
DataNode |
buildNode(java.lang.Object obj)
Builds a DataNode from a given object.
|
static FileDataNodeBuilder |
getInstance()
Obtains the singleton instance of this class.
|
boolean |
suitable(java.lang.Class objClass)
Determine whether this builder can be used to work on an object
of a given class.
|
java.lang.String |
toString() |
getBuilders, getNodeClass
public static FileDataNodeBuilder getInstance()
public boolean suitable(java.lang.Class objClass)
DataNodeBuilder
suitable
in class DataNodeBuilder
objClass
- the class of an object which might be passed
as the argument of buildNodepublic DataNode buildNode(java.lang.Object obj) throws NoSuchDataException
DataNodeBuilder
buildNode
in class DataNodeBuilder
obj
- the object to build a datanode fromNoSuchDataException
- if no new node can be createdpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.