Class DirectivesDelegateObject

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

    public final class DirectivesDelegateObject
    extends Object
    implements Iterable<org.xembly.Directive>
    Directives for an EO object that delegates to another object.

    Alternative representations of the same idea: - DirectivesClosedObject - a closed object with a base attribute, - DirectivesAbsractObject - an abstract object with a base attribute,

    Since:
    0.12.0
    • Constructor Detail

      • DirectivesDelegateObject

        public DirectivesDelegateObject​(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>