Class DirectivesEoObject

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

    public final class DirectivesEoObject
    extends Object
    implements Iterable<org.xembly.Directive>
    Directives that represent a pure EO object. Similar to DirectivesJeoObject, but for objects that are parts of the EO language.
    Since:
    0.6
    • Constructor Detail

      • DirectivesEoObject

        @SafeVarargs
        public DirectivesEoObject​(String base,
                                  String name,
                                  Iterable<org.xembly.Directive>... inner)
        Constructor.
        Parameters:
        base - The base of the object.
        name - The name of the object.
        inner - Inner components.
      • DirectivesEoObject

        public DirectivesEoObject​(String base,
                                  String name,
                                  List<org.xembly.Directives> inner)
        Constructor.
        Parameters:
        base - The base of the object.
        name - The name of the object.
        inner - Inner components.
      • DirectivesEoObject

        @SafeVarargs
        public DirectivesEoObject​(String base,
                                  String name,
                                  String as,
                                  Iterable<org.xembly.Directive>... inner)
        Constructor.
        Parameters:
        base - The base of the object.
        name - The name of the object.
        as - The 'as' attribute of the object.
        inner - Inner components.
        Suppressed Checkstyle violations:
        ParameterNumberCheck (10 lines), ParameterNameCheck (10 lines)
      • DirectivesEoObject

        public DirectivesEoObject​(String base,
                                  String name,
                                  String as,
                                  List<org.xembly.Directives> inner)
        Constructor.
        Parameters:
        base - The base of the object.
        name - The name of the object.
        as - The 'as' attribute of the object.
        inner - Inner components.
        Suppressed Checkstyle violations:
        ParameterNameCheck (10 lines), ParameterNumberCheck (10 lines)
    • Method Detail

      • iterator

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