Class CommonPlaceholders


  • public final class CommonPlaceholders
    extends Object
    List of common, non-dynamic placeholders that can be used within FORMCYCLE.
    Since:
    7.2.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • CommonPlaceholders

        public CommonPlaceholders()
    • Method Detail

      • getBySyntaxKindAndContent

        @Nullable
        public static IStaticPlaceholder getBySyntaxKindAndContent​(EPlaceholderSyntaxKind syntaxKind,
                                                                   String content)
        Parameters:
        syntaxKind - Syntax kind of the placeholder to fetch.
        content - Content of the placeholder to fetch.
        Returns:
        The placeholder descriptor for the given type and content, null if none exists.
      • getBySyntaxKindAndContentMap

        public static com.google.common.collect.ImmutableMap<EPlaceholderSyntaxKind,​com.google.common.collect.ImmutableMap<String,​IStaticPlaceholder>> getBySyntaxKindAndContentMap()
        Returns:
        A map with all builtin non-dynamic placeholders indexed by type and content.