be.objectify.led.factory.object
Class IntegerFactory
java.lang.Object
be.objectify.led.factory.object.AbstractObjectFactory<T>
be.objectify.led.factory.object.AbstractNumberFactory<Integer>
be.objectify.led.factory.object.IntegerFactory
- All Implemented Interfaces:
- ObjectFactory<Integer>
public class IntegerFactory
- extends AbstractNumberFactory<Integer>
Object factory for Integer instances.
- Author:
- Steve Chaloner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerFactory
public IntegerFactory()
parse
public Integer parse(String propertyValue)
- Parse the property value to extract an object of the correct type from it.
- Specified by:
parse in class AbstractNumberFactory<Integer>
- Parameters:
propertyValue - the source value. Must not be null
- Returns:
- the parsed value
getBoundClass
public Class<Integer> getBoundClass()
- Gets the class type this factory produces objects for.
- Returns:
- the class type
Copyright © 2010 Objectify. All Rights Reserved.