Interface SyntaxFactory


  • @Role
    @Deprecated
    public interface SyntaxFactory
    Deprecated.
    since 9.8RC1, use Syntax.valueOf(String) instead
    Since:
    2.0RC1
    Version:
    $Id: 15d851507be5c1f7ab02383b35be5f4365ddab30 $
    • Method Detail

      • createSyntaxFromIdString

        @Deprecated
        Syntax createSyntaxFromIdString​(String syntaxAsIdString)
                                 throws ParseException
        Deprecated.
        since 9.8RC1, use Syntax.valueOf(String) instead
        Parameters:
        syntaxAsIdString - the syntax as a string (eg "xwiki/2.0", "plain/1.0")
        Returns:
        the parsed syntax as a Syntax object
        Throws:
        ParseException - in case the string doesn't represent a valid syntax