Input.InputValue

public static final class Input.InputValue extends Input
implements Cloneable

An Input that takes a value. This will add an input connection to a Block.

Inherited Constant Summary

Inherited Field Summary

Public Constructor Summary

Input.InputValue(String name, List<? extends Field> fields, String alignString, String[] checks)
Input.InputValue(String name, List<? extends Field> fields, int align, String[] checks)

Public Method Summary

Input.InputValue
clone()
void
serialize(XmlSerializer serializer, IOOptions options)
Writes the value of the Input and all of its Fields as a string.

Inherited Method Summary

Public Constructors

public Input.InputValue (String name, List<? extends Field> fields, String alignString, String[] checks)

Parameters
name
fields
alignString
checks

public Input.InputValue (String name, List<? extends Field> fields, int align, String[] checks)

Parameters
name
fields
align
checks

Public Methods

public Input.InputValue clone ()

public void serialize (XmlSerializer serializer, IOOptions options)

Writes the value of the Input and all of its Fields as a string. By default only fields are written. Subclasses should override this and call serializeImpl(XmlSerializer, String, IOOptions) with the correct tag to also serialize any connected blocks.

Parameters
serializer The XmlSerializer to write to.
options The options to configure writing.
Throws
IOException