@Unstable public class WikiStreamType extends Object implements Comparable<WikiStreamType>
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
WikiStreamType(WikiType type,
String dataFormat) |
WikiStreamType(WikiType type,
String dataFormat,
String version) |
| Modifier and Type | Method and Description |
|---|---|
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. |
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
public WikiStreamType(WikiType type, String dataFormat)
type - the type of WikidataFormat - the export data formatpublic 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 parseWikiStreamTypepublic int compareTo(WikiStreamType o)
compareTo in interface Comparable<WikiStreamType>Copyright © 2004–2014 XWiki. All rights reserved.