Class DirectivesValues

  • All Implemented Interfaces:
    Iterable<org.xembly.Directive>

    public final class DirectivesValues
    extends Object
    implements Iterable<org.xembly.Directive>
    Array representation of some values as Xembly directives. We used to use "tuple" for this, but it leads to some confusion. You can read more about this problem here
    Since:
    0.6
    • Constructor Detail

      • DirectivesValues

        @SafeVarargs
        public DirectivesValues​(Format format,
                                String name,
                                T... vals)
        Constructor.
        Type Parameters:
        T - Values type.
        Parameters:
        format - The format of the directives.
        name - Group of values name.
        vals - Values themselves.
    • Method Detail

      • iterator

        public Iterator<org.xembly.Directive> iterator()
        Specified by:
        iterator in interface Iterable<org.xembly.Directive>