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