Class StrictYamlSequence

  • All Implemented Interfaces:
    YamlNode, YamlSequence, Comparable<YamlNode>, Iterable<YamlNode>

    @Deprecated
    public final class StrictYamlSequence
    extends BaseYamlSequence
    Deprecated.
    This class will be moved to the extensions package in one of the future releases. There will be no changes to it other than a more suitable package.
    Decorator for a YamlSequence which throws YamlNodeNotFoundException if any of the methods of the decorated YamlSequence returns null (if the given index points to a YamlNode that is not a YamlMapping, for instance).
    Since:
    1.0.0
    Version:
    $Id: c32b6632b2c99a3df79ee916cb880567a288494c $
    Author:
    Salavat.Yalalov (s.yalalov@gmail.com)
    • Constructor Detail

      • StrictYamlSequence

        public StrictYamlSequence​(YamlSequence decorated)
        Deprecated.
        Ctor.
        Parameters:
        decorated - Original YamlSequence