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