T
- source typepublic interface ValueReader<T>
Modifier and Type | Interface and Description |
---|---|
static class |
ValueReader.Member<T>
A member of a given source
|
Modifier and Type | Method and Description |
---|---|
Object |
get(T source,
String memberName)
Returns the value from the
source object for the memberName . |
ValueReader.Member<T> |
getMember(T source,
String memberName)
|
Collection<String> |
memberNames(T source)
Returns all member names for the
source object, else null if the source has no
members. |
Object get(T source, String memberName)
source
object for the memberName
.IllegalArgumentException
- if the memberName
is invalid for the source
ValueReader.Member<T> getMember(T source, String memberName)
source
- the source objectmemberName
- the name of memberCollection<String> memberNames(T source)
source
object, else null
if the source has no
members.Copyright © 2011–2024. All rights reserved.