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