Interface NewsContent


  • @Unstable
    public interface NewsContent
    Represents a NewsSourceItem content.
    Since:
    15.1RC1
    Version:
    $Id: 30b1e6d778873113e53667b105fbe599b1af9a06 $
    • Method Detail

      • getContent

        String getContent()
        Returns:
        the content in the syntax of getSyntax(), cleaned and safe to be rendered
      • getSyntax

        org.xwiki.rendering.syntax.Syntax getSyntax()
        Returns:
        the syntax in which the content is written in