|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.wikistream.type.WikiStreamType
@Unstable public class WikiStreamType
Combination of supported wikis and their export types.
| Field Summary | |
|---|---|
static WikiStreamType |
CONFLUENCE_XML
The Confluence XML format. |
static String |
DATA_XML
Data format identifier for XML. |
static WikiStreamType |
WIKI_XML
Generic WIKI XML Syntax. |
static WikiStreamType |
XWIKI_INSTANCE
The database stream based on oldcore APIs. |
static WikiStreamType |
XWIKI_XAR_11
The XAR format. |
| Constructor Summary | |
|---|---|
WikiStreamType(WikiType type,
String dataFormat)
|
|
WikiStreamType(WikiType type,
String dataFormat,
String version)
|
|
| Method Summary | |
|---|---|
int |
compareTo(WikiStreamType o)
|
boolean |
equals(Object object)
|
String |
getDataFormat()
|
WikiType |
getType()
|
String |
getVersion()
|
int |
hashCode()
|
String |
serialize()
|
String |
toString()
|
static WikiStreamType |
unserialize(String str)
Create a new WikiStreamType from a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DATA_XML
public static final WikiStreamType WIKI_XML
public static final WikiStreamType XWIKI_XAR_11
public static final WikiStreamType XWIKI_INSTANCE
public static final WikiStreamType CONFLUENCE_XML
| Constructor Detail |
|---|
public WikiStreamType(WikiType type,
String dataFormat)
type - the type of WikidataFormat - the export data format
public WikiStreamType(WikiType type,
String dataFormat,
String version)
type - the type of WikidataFormat - the export data formatversion - the version| Method Detail |
|---|
public WikiType getType()
public String getDataFormat()
public String getVersion()
public String serialize()
String representation of the WikiStreamTypepublic static WikiStreamType unserialize(String str)
WikiStreamType from a String.
str - the String to parse
WikiStreamTypepublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object object)
equals in class Objectpublic int compareTo(WikiStreamType o)
compareTo in interface Comparable<WikiStreamType>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||