Class HardSoftScoreXStreamConverter
java.lang.Object
org.optaplanner.persistence.xstream.api.score.AbstractScoreXStreamConverter
org.optaplanner.persistence.xstream.api.score.buildin.hardsoft.HardSoftScoreXStreamConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
@Deprecated(forRemoval=true)
public class HardSoftScoreXStreamConverter
extends AbstractScoreXStreamConverter
Deprecated, for removal: This API element is subject to removal in a future version.
Prefer JAXB for serialization into XML.
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(Class type) Deprecated, for removal: This API element is subject to removal in a future version.void
marshal
(Object scoreObject, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) Deprecated, for removal: This API element is subject to removal in a future version.unmarshal
(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.optaplanner.persistence.xstream.api.score.AbstractScoreXStreamConverter
registerScoreConverters
-
Constructor Details
-
HardSoftScoreXStreamConverter
public HardSoftScoreXStreamConverter()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
canConvert
Deprecated, for removal: This API element is subject to removal in a future version. -
marshal
public void marshal(Object scoreObject, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context) Deprecated, for removal: This API element is subject to removal in a future version. -
unmarshal
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) Deprecated, for removal: This API element is subject to removal in a future version.
-