Class MacroContentWikiSource


  • @Unstable
    public class MacroContentWikiSource
    extends Object
    A wiki content to use as macro content.
    Since:
    15.1RC1, 14.10.5
    Version:
    $Id: b11da664ab2e8a6f5095910be440a4e39d9338e7 $
    • Constructor Detail

      • MacroContentWikiSource

        public MacroContentWikiSource​(MacroContentSourceReference reference,
                                      String content,
                                      Syntax syntax)
        Parameters:
        reference - the reference of the content
        content - the wiki content
        syntax - the syntax of the content if known, null otherwise
    • Method Detail

      • getContent

        public String getContent()
        Returns:
        the wiki content
      • getSyntax

        public Syntax getSyntax()
        Returns:
        the syntax of the content if known, null otherwise
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object