Class MT361.SequenceM

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<Tag>
    Enclosing class:
    MT361

    @SequenceStyle(SPLIT_BY_15)
    public static class MT361.SequenceM
    extends SwiftTagListBlock
    Class to model Sequence "M" in MT 361.
    See Also:
    Serialized Form
    • Field Detail

      • START_TAG

        public static final Tag START_TAG
    • Method Detail

      • newInstance

        @SequenceStyle(SPLIT_BY_15)
        public static MT361.SequenceM newInstance​(Tag... tags)
        Creates a new instance of this sequence with the given tags inside.
        Parameters:
        tags - may be null, an empty sequence containing only start and end sequence tags will be returned
        Returns:
        a new instance of the sequence, initialized with the parameter tags
        Since:
        7.7
      • newInstance

        public static MT361.SequenceM newInstance()
        Create an empty $sequenceClassname. This method is intended to avoid disambiguation for the newInstance() with variable list of blocks or tags
        Returns:
        a new instance of the sequence
        Since:
        7.7
      • newInstance

        public static MT361.SequenceM newInstance​(SwiftTagListBlock... sequences)
        Create a new instance of $sequenceClassname and add the contents of all sequences given inside. Mainly intended to create a sequence by adding subsequences
        Parameters:
        sequences - a list of blocks to set as the new sequence content
        Returns:
        a new instance of the sequence, initialized with the parameter sequences content
        Since:
        7.7