public class DummyReporter extends Object implements Reporter
Since there is no internal state, in general
the INSTANCE can be used,
but a protected constructor is available in case you want to subclass it.
| Modifier and Type | Field and Description |
|---|---|
static DummyReporter |
INSTANCE
Instance suitable for general use.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DummyReporter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkUcd(String ucd)
Report on validity of the supplied Uniform Content Descriptor.
|
void |
checkUnit(String unit)
Report on validity of the supplied unit string.
|
Reporter |
createReporter(int subContext)
Returns a reporter suitable for use in a subcontext characterised
by an integer, that usually means an indexed array element
below the current level.
|
Reporter |
createReporter(String subContext)
Returns a reporter suitable for use in a subcontext characterised
by a string, that usually means a level down in the object
hierarchy.
|
void |
report(String msg)
Reports an error message.
|
public static final DummyReporter INSTANCE
public void checkUcd(String ucd)
Reporterpublic void checkUnit(String unit)
Reporterpublic Reporter createReporter(int subContext)
ReportercreateReporter in interface ReportersubContext - subcontext designationpublic Reporter createReporter(String subContext)
ReportercreateReporter in interface ReportersubContext - subcontext designationCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.