public abstract class AbstractDataExporter extends java.lang.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(java.lang.String data,
ResultData root)
Finds a inner ResultData matching the specified data name in a ResultData
tree.
|
protected static <T> T |
findValue(java.lang.Class<T> clazz,
java.lang.String data,
ResultData root)
Finds a value matching the specified data name in a ResultData tree.
|
java.lang.String |
getName()
Gets the name of the exporter.
|
void |
setName(java.lang.String name)
Sets the name of the exporter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportprotected AbstractDataExporter()
protected static <T> T findValue(java.lang.Class<T> clazz,
java.lang.String data,
ResultData root)
T - type of value to be foundclazz - the type of the valuedata - the name of the data containing the valueroot - the root of the treeprotected static ResultData findData(java.lang.String data, ResultData root)
data - the name of the data containing the valueroot - the root of the treepublic java.lang.String getName()
DataExportergetName in interface DataExporterpublic void setName(java.lang.String name)
DataExportersetName in interface DataExportername - the new name of the exporterCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.