Enum WikiLanguage
- java.lang.Object
-
- java.lang.Enum<WikiLanguage>
-
- net.sourceforge.plantuml.creole.rosetta.WikiLanguage
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WikiLanguage>
public enum WikiLanguage extends java.lang.Enum<WikiLanguage>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
hideCharsF7(java.lang.String s)
static java.lang.String
restoreAllCharsF7(java.lang.String s)
static java.lang.String
restoreAllCharsF7AndDoEscapeForBackSlash(java.lang.String s)
java.lang.String
slashTag(java.lang.String tagName)
java.lang.String
tag(java.lang.String tagName)
java.lang.String
tag(java.lang.String tagName, java.lang.String name, java.lang.String value)
static char
toF7(char ch)
static java.lang.String
toHtmlDebug(java.lang.String s)
java.lang.String
toString()
static WikiLanguage
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WikiLanguage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOKUWIKI
public static final WikiLanguage DOKUWIKI
-
MARKDOWN
public static final WikiLanguage MARKDOWN
-
ASCIIDOC
public static final WikiLanguage ASCIIDOC
-
MEDIAWIKI
public static final WikiLanguage MEDIAWIKI
-
CREOLE
public static final WikiLanguage CREOLE
-
UNICODE
public static final WikiLanguage UNICODE
-
HTML_DEBUG
public static final WikiLanguage HTML_DEBUG
-
-
Method Detail
-
values
public static WikiLanguage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WikiLanguage c : WikiLanguage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WikiLanguage valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<WikiLanguage>
-
toHtmlDebug
public static java.lang.String toHtmlDebug(java.lang.String s)
-
hideCharsF7
public static java.lang.String hideCharsF7(java.lang.String s)
-
restoreAllCharsF7AndDoEscapeForBackSlash
public static java.lang.String restoreAllCharsF7AndDoEscapeForBackSlash(java.lang.String s)
-
restoreAllCharsF7
public static java.lang.String restoreAllCharsF7(java.lang.String s)
-
toF7
public static char toF7(char ch)
-
slashTag
public java.lang.String slashTag(java.lang.String tagName)
-
tag
public java.lang.String tag(java.lang.String tagName)
-
tag
public java.lang.String tag(java.lang.String tagName, java.lang.String name, java.lang.String value)
-
-