public abstract class DescriptionBuilder<T extends DescriptionElementBase>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
separator |
Constructor and Description |
---|
DescriptionBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract TextData |
build(T descriptionElement,
java.util.List<Language> languages)
Returns the TextData element with the description of the according DescriptionElement
|
TextData |
buildTextDataFeature(Feature feature,
java.util.List<Language> languages)
Returns a TextData with the name of the feature.
|
protected java.lang.String |
getRightText(Representation representation)
Returns either the text, label or abbreviation of a Representation
|
java.lang.String |
getSeparator() |
void |
returnAbbreviatedLabels()
Sets the builder to return the abbreviation contained in the Representation element of an object
|
void |
returnLabels()
Sets the builder to return the label contained in the Representation element of an object
|
void |
returnTexts()
Sets the builder to return the text contained in the Representation element of an object
|
void |
setSeparator(java.lang.String newSeparator) |
public void returnAbbreviatedLabels()
public void returnTexts()
public void returnLabels()
public void setSeparator(java.lang.String newSeparator)
public java.lang.String getSeparator()
public abstract TextData build(T descriptionElement, java.util.List<Language> languages)
descriptionElement
- languages
- protected java.lang.String getRightText(Representation representation)
representation
- Copyright © 2007-2020 EDIT. All Rights Reserved.