public abstract class AbstractDataExporter extends Object implements DataExporter
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDataExporter()
Instantiates a new abstract data exporter.
|
| Modifier and Type | Method and Description |
|---|---|
protected static ResultData |
findData(String data,
ResultData root)
Finds a inner ResultData matching the specified data name in a ResultData
tree.
|
protected static <TValue> TValue |
findValue(Class<TValue> clazz,
String data,
ResultData root)
Finds a value matching the specified data name in a ResultData tree.
|
String |
getName()
Gets the name of the exporter.
|
void |
setName(String name)
Sets the name of the exporter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportprotected AbstractDataExporter()
protected static <TValue> TValue findValue(Class<TValue> clazz, String data, ResultData root)
clazz - the type of the valuedata - the name of the data containing the valueroot - the root of the treeprotected static ResultData findData(String data, ResultData root)
data - the name of the data containing the valueroot - the root of the treepublic String getName()
DataExportergetName in interface DataExporterpublic void setName(String name)
DataExportersetName in interface DataExportername - the new name of the exporterCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.