org.cubeengine.converter.converter
Class ShortConverter
java.lang.Object
org.cubeengine.converter.converter.SimpleConverter<Short>
org.cubeengine.converter.converter.ShortConverter
- All Implemented Interfaces:
- ClassedConverter<Short>, Converter<Short,Class<? extends Short>>
public class ShortConverter
- extends SimpleConverter<Short>
A Converter for Short
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShortConverter
public ShortConverter()
toNode
public Node toNode(Short object)
throws ConversionException
- Description copied from class:
SimpleConverter
- Converts the object into a serializable Node
- Specified by:
toNode in class SimpleConverter<Short>
- Parameters:
object - the object to convert
- Returns:
- the converted object
- Throws:
ConversionException
fromNode
public Short fromNode(Node node)
throws ConversionException
- Description copied from class:
SimpleConverter
- Converts the node back into the original object
- Specified by:
fromNode in class SimpleConverter<Short>
- Parameters:
node - the node to convert
- Returns:
- the converted node
- Throws:
ConversionException
Copyright © 2013–2017. All rights reserved.