org.xwiki.rendering.syntax
Class SyntaxType
java.lang.Object
org.xwiki.rendering.syntax.SyntaxType
public class SyntaxType
- extends Object
- Since:
- 2.0RC1
- Version:
- $Id: 36a2e04b4c5ad8bae25d13e22613ae9483e80245 $
XWIKI
public static final SyntaxType XWIKI
CONFLUENCE
public static final SyntaxType CONFLUENCE
MEDIAWIKI
public static final SyntaxType MEDIAWIKI
CREOLE
public static final SyntaxType CREOLE
JSPWIKI
public static final SyntaxType JSPWIKI
TWIKI
public static final SyntaxType TWIKI
XHTML
public static final SyntaxType XHTML
ANNOTATED_XHTML
public static final SyntaxType ANNOTATED_XHTML
HTML
public static final SyntaxType HTML
PLAIN
public static final SyntaxType PLAIN
EVENT
public static final SyntaxType EVENT
TEX
public static final SyntaxType TEX
DOCBOOK
public static final SyntaxType DOCBOOK
XDOMXML
public static final SyntaxType XDOMXML
- Since:
- 3.3M1
MARKDOWN
public static final SyntaxType MARKDOWN
- Since:
- 3.4M1
APT
public static final SyntaxType APT
- Since:
- 4.3M1
SyntaxType
public SyntaxType(String id,
String name)
- Parameters:
id - the technical id of the Syntax type (ex "annotatedxhtml")name - the human readable name of the Syntax type (ex "Annotated XHTML")- Since:
- 2.0M3
getSyntaxTypes
public static Map<String,SyntaxType> getSyntaxTypes()
- Returns:
- the well-known Syntax types
getId
public String getId()
- Returns:
- the technical id of the Syntax type (ex "annotatedxhtml")
- Since:
- 2.0M3
getName
public String getName()
- Returns:
- the human readable name of the Syntax type (ex "Annotated XHTML")
- Since:
- 2.0M3
toString
public String toString()
-
Display a human readable name of the Syntax type.
- Overrides:
toString in class Object
- See Also:
Object.toString()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
Copyright © 2004-2012 XWiki. All Rights Reserved.