Class DirectivesGlobalObject

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

    public final class DirectivesGlobalObject
    extends Object
    implements Iterable<org.xembly.Directive>
    Directives that represent a global object. Similar to DirectivesJeoObject, but instead of 'as' attribute, it has 'name' attribute.
    Since:
    0.8
    • Constructor Detail

      • DirectivesGlobalObject

        @SafeVarargs
        public DirectivesGlobalObject​(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.
      • DirectivesGlobalObject

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

        public DirectivesGlobalObject​(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.
    • Method Detail

      • iterator

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