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 SystemTypeCONFLUENCEConfluence wiki type.static SystemTypeDOKUWIKIDokuWiki wiki type.static SystemTypeFILTERGeneric filter.static SystemTypeMEDIAWIKIMediaWiki wiki type.static SystemTypeXWIKIXWiki 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 booleanequals(Object object)StringgetId()inthashCode()Stringserialize()StringtoString()static SystemTypeunserialize(String str)Create a newSystemTypefrom 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 newSystemTypefrom aString.- Parameters:
str- theStringto parse- Returns:
- a
SystemType
-
getId
public String getId()
- Returns:
- id of the wiki
-
serialize
public String serialize()
- Returns:
- a
Stringrepresentation of theFilterStreamType
-
-