public class ExampleNavigation8.MyTypeParameterMapper extends Object implements NavigationParameterTypeMapper<ExampleNavigation8.MyType>
| Constructor and Description |
|---|
MyTypeParameterMapper() |
| Modifier and Type | Method and Description |
|---|---|
ExampleNavigation8.MyType |
deserialize(String value)
Deserialize given parameter
value. |
Class<ExampleNavigation8.MyType> |
getParameterType()
Get the parameter value type to which this mapper is bound.
|
String |
serialize(ExampleNavigation8.MyType value)
Serialize given parameter
value. |
public Class<ExampleNavigation8.MyType> getParameterType()
NavigationParameterTypeMappergetParameterType in interface NavigationParameterTypeMapper<ExampleNavigation8.MyType>nullpublic String serialize(ExampleNavigation8.MyType value) throws InvalidNavigationParameterException
NavigationParameterTypeMappervalue.serialize in interface NavigationParameterTypeMapper<ExampleNavigation8.MyType>value - The parameter value (never null)nullInvalidNavigationParameterException - If an error occurredpublic ExampleNavigation8.MyType deserialize(String value) throws InvalidNavigationParameterException
NavigationParameterTypeMappervalue.deserialize in interface NavigationParameterTypeMapper<ExampleNavigation8.MyType>value - The parameter value, not null nor blanknullInvalidNavigationParameterException - If an error occurredCopyright © 2020 The Holon Platform. All rights reserved.