Class MetaContentType


  • public class MetaContentType
    extends java.lang.Object
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • MetaContentType

        public MetaContentType()
    • Method Detail

      • renderMetaContentTag

        public static void renderMetaContentTag​(MarkupOutput out,
                                                Messages messages)
        Generates a tag for text/html content types including the char-set according to the user's locale
        Parameters:
        out - MarkupOutput to write the tag into
        messages - Messages intance to obtain the locale from.
        Since:
        MicroStrategy Web 8.0.0
      • renderMetaContentTag

        @Deprecated
        public static java.lang.String renderMetaContentTag​(Messages messages)
        Deprecated.
        Use renderMetaContentTag(MarkupOutput, Messages) instead.
        Generates a tag for text/html content types including the char-set according to the user's locale
        Parameters:
        messages - Messages intance to obtain the locale from.
        Returns:
        a String object containing the rendered tag.