org.xwiki.rendering.syntax
Class SyntaxType
java.lang.Object
org.xwiki.rendering.syntax.SyntaxType
public class SyntaxType
- extends java.lang.Object
- Since:
- 2.0RC1
- Version:
- $Id$
|
Constructor Summary |
SyntaxType(java.lang.String id,
java.lang.String name)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
SyntaxType
public SyntaxType(java.lang.String id,
java.lang.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
getId
public java.lang.String getId()
- Returns:
- the technical id of the Syntax type (ex "annotatedxhtml")
- Since:
- 2.0M3
getName
public java.lang.String getName()
- Returns:
- the human readable name of the Syntax type (ex "Annotated XHTML")
- Since:
- 2.0M3
toString
public java.lang.String toString()
-
Display a human readable name of the Syntax type.
- Overrides:
toString in class java.lang.Object
- See Also:
Object.toString()
hashCode
public int hashCode()
-
- Overrides:
hashCode in class java.lang.Object
- See Also:
Object.hashCode()
equals
public boolean equals(java.lang.Object object)
-
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(Object)
Copyright © 2004-2011 XWiki. All Rights Reserved.