Package org.xwiki.rendering.syntax
Interface SyntaxFactory
-
@Role @Deprecated public interface SyntaxFactory
Deprecated.since 9.8RC1, useSyntax.valueOf(String)
instead- Since:
- 2.0RC1
- Version:
- $Id: 15d851507be5c1f7ab02383b35be5f4365ddab30 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Syntax
createSyntaxFromIdString(String syntaxAsIdString)
Deprecated.since 9.8RC1, useSyntax.valueOf(String)
instead
-
-
-
Method Detail
-
createSyntaxFromIdString
@Deprecated Syntax createSyntaxFromIdString(String syntaxAsIdString) throws ParseException
Deprecated.since 9.8RC1, useSyntax.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
-
-