Class 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 Detail

      • 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.
        Suppressed Checkstyle violations:
        ParameterNameCheck (5 lines), ParameterNumberCheck (5 lines)
    • Method Detail

      • iterator

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