Class DirectivesAnnotation

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

    public final class DirectivesAnnotation
    extends Object
    implements Iterable<org.xembly.Directive>, Composite
    Directives Annotation.
    Since:
    0.1
    • Constructor Detail

      • DirectivesAnnotation

        public DirectivesAnnotation​(String descriptor,
                                    boolean visible)
        Constructor.
        Parameters:
        descriptor - Descriptor.
        visible - Visible.
    • Method Detail

      • append

        public void append​(Iterable<org.xembly.Directive> directives)
        Description copied from interface: Composite
        Append directives.
        Specified by:
        append in interface Composite
        Parameters:
        directives - Directives to append.
      • build

        public Iterable<org.xembly.Directive> build()
        Description copied from interface: Composite
        Build directives all together.
        Specified by:
        build in interface Composite
        Returns:
        Directives.
      • iterator

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