public abstract class BaseExporter extends Object implements Exporter
Exporter.EXPORT_CANONICAL_NAME, Exporter.EXPORT_OUT_ALIASES| Modifier and Type | Field and Description |
|---|---|
protected Exporter.EXPORT_CANONICAL_NAME |
includeCanonical |
protected Exporter.EXPORT_OUT_ALIASES |
includeOutAlias |
| Constructor and Description |
|---|
BaseExporter() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> void |
doExport(String name,
Property<T> property,
StaticPropertyConfiguration definition,
ValidatedValues values)
Subclasses can implement just this method.
|
void |
export(GroupProxy group,
StaticPropertyConfiguration definition,
ValidatedValues values)
Exports a Group.
|
void |
export(Property<?> property,
StaticPropertyConfiguration definition,
ValidatedValues values) |
void |
export(StaticPropertyConfiguration definition,
ValidatedValues values)
Exports all properties.
|
protected boolean |
hasOutAlias(Property<?> property,
StaticPropertyConfiguration definition) |
void |
setExportByCanonicalName(Exporter.EXPORT_CANONICAL_NAME option)
Specify if canonical names should be exported.
|
void |
setExportByOutAliases(Exporter.EXPORT_OUT_ALIASES option)
Specify if out alias names should be exported.
|
protected Exporter.EXPORT_CANONICAL_NAME includeCanonical
protected Exporter.EXPORT_OUT_ALIASES includeOutAlias
public void setExportByOutAliases(Exporter.EXPORT_OUT_ALIASES option)
ExportersetExportByOutAliases in interface Exporterpublic void setExportByCanonicalName(Exporter.EXPORT_CANONICAL_NAME option)
ExportersetExportByCanonicalName in interface Exporterpublic abstract <T> void doExport(String name, Property<T> property, StaticPropertyConfiguration definition, ValidatedValues values)
name - property - definition - values - public void export(StaticPropertyConfiguration definition, ValidatedValues values)
Exporterpublic void export(GroupProxy group, StaticPropertyConfiguration definition, ValidatedValues values)
Exporterpublic void export(Property<?> property, StaticPropertyConfiguration definition, ValidatedValues values)
protected boolean hasOutAlias(Property<?> property, StaticPropertyConfiguration definition)
Copyright © 2017. All rights reserved.