Class PropertyDefinitionUsageBuilder


  • public final class PropertyDefinitionUsageBuilder
    extends Object
    A property definition visitor which can be used to generate syntax usage information.
    • Constructor Detail

      • PropertyDefinitionUsageBuilder

        public PropertyDefinitionUsageBuilder​(boolean isDetailed)
        Creates a new property usage builder.
        Parameters:
        isDetailed - Indicates whether the generated usage should contain detailed information such as constraints.
    • Method Detail

      • getUsage

        public LocalizableMessage getUsage​(PropertyDefinition<?> pd)
        Generates the usage information for the provided property definition.
        Parameters:
        pd - The property definitions.
        Returns:
        Returns the usage information for the provided property definition.