Package org.citygml4j.util.mapper
Class CheckedTypeMapper<R>
- java.lang.Object
-
- org.citygml4j.util.mapper.CheckedTypeMapper<R>
-
public class CheckedTypeMapper<R> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CheckedTypeMapper.CheckedFunction<T,R>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description R
apply(java.lang.Object src)
static <R> CheckedTypeMapper<R>
create()
<T> CheckedTypeMapper<R>
with(java.lang.Class<T> target, CheckedTypeMapper.CheckedFunction<T,R> function)
-
-
-
Method Detail
-
create
public static <R> CheckedTypeMapper<R> create()
-
with
public <T> CheckedTypeMapper<R> with(java.lang.Class<T> target, CheckedTypeMapper.CheckedFunction<T,R> function)
-
apply
public R apply(java.lang.Object src) throws MissingADESchemaException
- Throws:
MissingADESchemaException
-
-