Class DirectivesJeoObject

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

public final class DirectivesJeoObject extends Object implements Iterable<org.xembly.Directive>
Directives that represent a pure JEO object. Similar to DirectivesEoObject, but for objects that are parts of the JEO XMIR representation.
Since:
0.6
To do:
#946:60min Generate Documentation from The Source Code. We might try to generate documentation about jeo objects from the source code. See the "Full List of Jeo Objects" section in the README file. This was originally suggested here: PR comment. .
  • Constructor Details

    • DirectivesJeoObject

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

      public DirectivesJeoObject(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.
    • DirectivesJeoObject

      public DirectivesJeoObject(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.
    • DirectivesJeoObject

      public DirectivesJeoObject(String base, String name, String as, 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:
      ParameterNumberCheck (5 lines), ParameterNameCheck (5 lines)
    • DirectivesJeoObject

      public DirectivesJeoObject(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 (5 lines), ParameterNumberCheck (5 lines)
  • Method Details

    • iterator

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