public class DatePropertyHandler extends Object implements PropertyHandler
Constructor and Description |
---|
DatePropertyHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
apply(Class<?> parameter,
Object value)
Do the work required to store
value into something of type parameter . |
boolean |
match(Class<?> parameter,
Object value)
Test whether this
PropertyHandler wants to handle setting value into something of type
parameter . |
public boolean match(Class<?> parameter, Object value)
PropertyHandler
PropertyHandler
wants to handle setting value
into something of type
parameter
.match
in interface PropertyHandler
parameter
- The type of the target parameter.value
- The value to be set.public Object apply(Class<?> parameter, Object value)
PropertyHandler
value
into something of type parameter
. This method is
called only if this handler responded true
after a call to PropertyHandler.match(Class, Object)
.apply
in interface PropertyHandler
parameter
- The type of the target parameter.value
- The value to be set.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.