Class AttributeOptionsPrinter


  • public class AttributeOptionsPrinter
    extends Object
    Pretty printer for attribute options.
    Author:
    harald
    • Constructor Detail

      • AttributeOptionsPrinter

        public AttributeOptionsPrinter​(Attribute attribute,
                                       PrintConfiguration configuration)
        Creates an options printer.
        Parameters:
        attribute - the attribute
        configuration - the printing configuration
    • Method Detail

      • print

        public String print()
        Prints the options string (without brackets).
        Returns:
        the option string