Input.InputStatement

public static final class Input.InputStatement extends Input
implements Cloneable

An input that accepts one or more statement blocks. This will add a wrapped code connection to a Block.

Inherited Constant Summary

Inherited Field Summary

Public Constructor Summary

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

Public Method Summary

Input.InputStatement
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.InputStatement (String name, List<Field> fields, String alignString, String[] checks)

Parameters
name
fields
alignString
checks

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

Parameters
name
fields
align
checks

Public Methods

public Input.InputStatement 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