Package org.xwiki.filter.type
Class SystemType
- java.lang.Object
-
- org.xwiki.filter.type.SystemType
-
public class SystemType extends Object
Represents various systems.- Since:
- 6.2M1
- Version:
- $Id: ef4080138aa34f423c635248ba8398a1fb0b902c $
-
-
Field Summary
Fields Modifier and Type Field Description static SystemType
CONFLUENCE
Confluence wiki type.static SystemType
DOKUWIKI
DokuWiki wiki type.static SystemType
FILTER
Generic filter.static SystemType
MEDIAWIKI
MediaWiki wiki type.static SystemType
XWIKI
XWiki wiki type.
-
Constructor Summary
Constructors Constructor Description SystemType(String id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
String
getId()
int
hashCode()
String
serialize()
String
toString()
static SystemType
unserialize(String str)
Create a newSystemType
from aString
.
-
-
-
Field Detail
-
MEDIAWIKI
public static final SystemType MEDIAWIKI
MediaWiki wiki type.
-
DOKUWIKI
public static final SystemType DOKUWIKI
DokuWiki wiki type.- Since:
- 9.5RC1
-
CONFLUENCE
public static final SystemType CONFLUENCE
Confluence wiki type.
-
XWIKI
public static final SystemType XWIKI
XWiki wiki type.
-
FILTER
public static final SystemType FILTER
Generic filter.
-
-
Constructor Detail
-
SystemType
public SystemType(String id)
- Parameters:
id
- of a wiki
-
-
Method Detail
-
unserialize
public static SystemType unserialize(String str)
Create a newSystemType
from aString
.- Parameters:
str
- theString
to parse- Returns:
- a
SystemType
-
getId
public String getId()
- Returns:
- id of the wiki
-
serialize
public String serialize()
- Returns:
- a
String
representation of theFilterStreamType
-
-