T
- The type of the value to extract.public interface ObjectExtractor<T>
ResultElement
to a specific type.Modifier and Type | Method and Description |
---|---|
T |
extract(ResultElement resultElement)
Extracts the value of the given
ResultElement as the type T . |
@Nonnull T extract(@Nonnull ResultElement resultElement) throws UnsupportedOperationException
ResultElement
as the type T
.resultElement
- The ResultElement
to transform.resultElement
as the given type.UnsupportedOperationException
- If the value could not be converted to the given type.Copyright © 2021 SAP SE. All rights reserved.