Skip to content

class NativeTextResource

Package: swiss.avm.up.core.generic.txt.javamodel.NativeTextResource

Direct Known Subclasses:


class NativeTextResource extends NamedResource, AnnotableComment, AResourceWithType

Properties

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

key

unique key within text list

StringLiteral[0..1]

name

The name of this Resource.

StringLiteral[1..1]

value

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

Method Summary

accept

@FCodeSnippet

Parameters:

ValidatableTypeVisitorLiteral

Return:

Void

getCSVExportLine

@TemplateFunction

Parameters:

TextTable

getKey

@TextFunctionSpace

Return:

StringLiteral

getName

@TextFunctionSpace

getNativeTextWhenDefault

@TextFunctionSpace

Parameters:

LanguageDefinition
Translation

getOwnerPath

@TextFunctionSpace

getTranslatedTextForCSV

@TemplateFunction

Parameters:

LanguageDefinition
Translation

getTranslatedTextForXML

@TemplateFunction

Parameters:

LanguageDefinition
Translation

getTranslation

@TextFunctionSpace

Provides the translation for a native text resource with the following prioritisation:
1. translated text in the given language
2. translated text in the default language
3. native text

Parameters:

LanguageDefinition

getTranslation_depricated

@TemplateFunction

Parameters:

LanguageDefinition