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,
ConstructionDefinition definition,
ValueMap values)
Subclasses can implement just this method.
|
void |
export(Class<? extends BasePropertyGroup> group,
ConstructionDefinition definition,
ValueMap values)
Exports a BasePropertyGroup.
|
void |
export(ConstructionDefinition definition,
ValueMap values)
Exports all properties.
|
void |
export(Property<?> property,
ConstructionDefinition definition,
ValueMap values) |
protected boolean |
hasOutAlias(Property<?> property,
ConstructionDefinition 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, ConstructionDefinition definition, ValueMap values)
name - property - definition - values - public void export(ConstructionDefinition definition, ValueMap values)
Exporterpublic void export(Class<? extends BasePropertyGroup> group, ConstructionDefinition definition, ValueMap values)
Exporterpublic void export(Property<?> property, ConstructionDefinition definition, ValueMap values)
protected boolean hasOutAlias(Property<?> property, ConstructionDefinition definition)
Copyright © 2017. All rights reserved.