Interface VolumeContentBuilder

    • Method Detail

      • newSequence

        void newSequence​(SequenceProperties props)
        Creates a new sequence at the current position.
        Parameters:
        props - the properties of the sequence
      • newTocSequence

        void newTocSequence​(TocProperties props)
        Creates a new toc sequence at the current position.
        Parameters:
        props - the properties of the toc sequence
      • newOnTocStart

        void newOnTocStart​(Condition condition)

        Creates a new on toc start block. In a scenario where conditions overlap, the first one added takes precedence.

        Calling this method is only valid within a TOC sequence.

        Parameters:
        condition - a condition, or null
        Throws:
        IllegalStateException - if not in a TOC sequence
      • newOnTocStart

        void newOnTocStart()

        Creates a new on toc start block that always apply. In a scenario where conditions overlap, the first one added takes precedence.

        Calling this method is only valid within a TOC sequence.

        Throws:
        IllegalStateException - if not in a TOC sequence
      • newOnVolumeStart

        void newOnVolumeStart​(Condition condition)

        Creates a new on volume start block. In a scenario where conditions overlap, the first one added takes precedence.

        Calling this method is only valid within a TOC sequence.

        Parameters:
        condition - a condition, or null
        Throws:
        IllegalStateException - if not in a TOC sequence
      • newOnVolumeStart

        void newOnVolumeStart()

        Creates a new on volume start block that always apply. In a scenario where conditions overlap, the first one added takes precedence.

        Calling this method is only valid within a TOC sequence.

        Throws:
        IllegalStateException - if not in a TOC sequence
      • newOnVolumeEnd

        void newOnVolumeEnd​(Condition condition)

        Creates a new on volume end block. In a scenario where conditions overlap, the first one added takes precedence.

        Calling this method is only valid within a TOC sequence.

        Parameters:
        condition - a condition, or null
        Throws:
        IllegalStateException - if not in a TOC sequence
      • newOnVolumeEnd

        void newOnVolumeEnd()

        Creates a new on volume end block that always apply. In a scenario where conditions overlap, the first one added takes precedence.

        Calling this method is only valid within a TOC sequence.

        Throws:
        IllegalStateException - if not in a TOC sequence
      • newOnTocEnd

        void newOnTocEnd​(Condition condition)

        Creates a new on toc end block. In a scenario where conditions overlap, the first one added takes precedence.

        Calling this method is only valid within a TOC sequence.

        Parameters:
        condition - a condition, or null
        Throws:
        IllegalStateException - if not in a TOC sequence
      • newOnTocEnd

        void newOnTocEnd()

        Creates a new on toc end block that always apply. In a scenario where conditions overlap, the first one added takes precedence.

        Calling this method is only valid within a TOC sequence.

        Throws:
        IllegalStateException - if not in a TOC sequence
      • newDynamicSequence

        DynamicSequenceBuilder newDynamicSequence​(SequenceProperties props)
        Creates a new dynamic sequence.
        Parameters:
        props - the sequence properties
        Returns:
        returns a new dynamic sequence