Package cz.martlin.xspf.util
Interface XMLDocumentUtilityHelper.NonNullValueToTextMapper<T>
-
- Type Parameters:
T-
- Enclosing class:
- XMLDocumentUtilityHelper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface XMLDocumentUtilityHelper.NonNullValueToTextMapper<T>
An mapping of the particular java object (never null) to text to fill into the XML file. To convert a string, you can useSTRING_TO_TEXTmapping.- Author:
- martin
-
-
Field Summary
Fields Modifier and Type Field Description static XMLDocumentUtilityHelper.NonNullValueToTextMapper<String>STRING_TO_TEXTAn identity (i.e. empty) mapping.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringvalueToText(T value)Converts the given (non-null) java object to the xml text.
-
-
-
Field Detail
-
STRING_TO_TEXT
static final XMLDocumentUtilityHelper.NonNullValueToTextMapper<String> STRING_TO_TEXT
An identity (i.e. empty) mapping.
-
-