Class DirectivesAbsractObject

java.lang.Object
org.eolang.jeo.representation.directives.DirectivesAbsractObject
All Implemented Interfaces:
Iterable<org.xembly.Directive>

public final class DirectivesAbsractObject extends Object implements Iterable<org.xembly.Directive>
Directives that represent an abstract EO object.

This is similar to DirectivesClosedObject, the main difference is that it keeps the 'base' attribute as a first EO attribute, instead of a XML attribute (base=x).

read more
Since:
0.11.0
  • Constructor Details

    • DirectivesAbsractObject

      public DirectivesAbsractObject(String base, String as, String name, Iterable<org.xembly.Directive> internal)
      Constructor.
      Parameters:
      base - The 'base' attribute of the abstract object.
      as - The 'as' attribute of the abstract object.
      name - The 'name' attribute of the abstract object.
      internal - Inner components of the abstract object.
  • Method Details

    • iterator

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