|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.wikistream.type.WikiType
@Unstable public class WikiType
Represents various Wikis supported by Wiki Importer.
| Field Summary | |
|---|---|
static WikiType |
CONFLUENCE
Confluence wiki type. |
static WikiType |
MEDIAWIKI
Mediawiki wiki type. |
static WikiType |
WIKI
Generic WIKI. |
static WikiType |
XWIKI
XWiki wiki type. |
| Constructor Summary | |
|---|---|
WikiType(String id)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getId()
|
int |
hashCode()
|
String |
serialize()
|
String |
toString()
|
static WikiType |
unserialize(String str)
Create a new WikiType from a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final WikiType MEDIAWIKI
public static final WikiType CONFLUENCE
public static final WikiType XWIKI
public static final WikiType WIKI
| Constructor Detail |
|---|
public WikiType(String id)
id - of a wiki| Method Detail |
|---|
public static WikiType unserialize(String str)
WikiType from a String.
str - the String to parse
WikiTypepublic String getId()
public String serialize()
String representation of the WikiStreamTypepublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||