Package me.datafox.dfxengine.text.api
Interface Text
- All Known Implementing Classes:
- AbstractText,- ChainedText,- ConfigurationText,- NameText,- NumberText,- NumeralText,- StaticText,- ValueText
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A 
String generation interface. get(TextFactory, TextConfiguration) should use the provided
 TextConfiguration and not TextFactory.getConfiguration(). The reference to TextFactory is
 provided for access to objects like Names and NumberFormatters.- 
Method SummaryModifier and TypeMethodDescriptionget(TextFactory factory, TextConfiguration configuration) Implementation should use the providedTextConfigurationand notTextFactory.getConfiguration().
- 
Method Details- 
getImplementation should use the providedTextConfigurationand notTextFactory.getConfiguration(). The reference toTextFactoryis provided for access to objects likeNamesandNumberFormatters.- Parameters:
- factory-- TextFactoryfor generation
- configuration-- TextConfigurationfor generation
- Returns:
- generated String
- Throws:
- TextConfigurationException- if the- TextConfigurationis not valid for this text
 
 
-