Package cz.martlin.xspf.util
Interface XMLDocumentUtilityHelper.NonNullTextToValueMapper<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.NonNullTextToValueMapper<T>
An mapping of the text (never null) obtained from the XML file to some particular java type. To convert to string, you can useTEXT_TO_STRINGmapping.- Author:
- martin
-
-
Field Summary
Fields Modifier and Type Field Description static XMLDocumentUtilityHelper.NonNullTextToValueMapper<String>TEXT_TO_STRINGAn identity (i.e. empty) mapping.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TtextToValue(String text)Converts the given (non-null) text to the particular value.
-
-
-
Field Detail
-
TEXT_TO_STRING
static final XMLDocumentUtilityHelper.NonNullTextToValueMapper<String> TEXT_TO_STRING
An identity (i.e. empty) mapping.
-
-