public class FilterStreamType extends Object implements Comparable<FilterStreamType>
Modifier and Type | Field and Description |
---|---|
static FilterStreamType |
CONFLUENCE_XML
The Confluence XML format.
|
static String |
DATA_TEXT
Data format identifier for TEXT.
|
static String |
DATA_XAR
Data format identifier for XAR.
|
static String |
DATA_XML
Data format identifier for XML.
|
static FilterStreamType |
DOKUWIKI_TEXT
The DokuWiki data format.
|
static FilterStreamType |
FILTER_XML
Generic WIKI XML Syntax.
|
static FilterStreamType |
MEDIAWIKI_XML
The MediaWiki XML format.
|
static FilterStreamType |
XWIKI_INSTANCE
The database stream based on oldcore APIs.
|
static FilterStreamType |
XWIKI_XAR_11
The XAR format in version 1.1.
|
static FilterStreamType |
XWIKI_XAR_12
The XAR format in version 1.2.
|
static FilterStreamType |
XWIKI_XAR_13
The XAR format in version 1.3.
|
static FilterStreamType |
XWIKI_XAR_CURRENT
The XAR format in the current version.
|
Constructor and Description |
---|
FilterStreamType(SystemType type,
String dataFormat) |
FilterStreamType(SystemType type,
String dataFormat,
String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FilterStreamType o) |
boolean |
equals(Object object) |
String |
getDataFormat() |
SystemType |
getType() |
String |
getVersion() |
int |
hashCode() |
String |
serialize() |
String |
toString() |
static FilterStreamType |
unserialize(String str)
Create a new
FilterStreamType from a String . |
public static final String DATA_XML
Main content is based on XML.
public static final String DATA_XAR
Main content is based on XAR format.
public static final String DATA_TEXT
Main content is textual content which does not belong to another well know and more specific textual content.
public static final FilterStreamType FILTER_XML
public static final FilterStreamType XWIKI_XAR_11
public static final FilterStreamType XWIKI_XAR_12
public static final FilterStreamType XWIKI_XAR_13
public static final FilterStreamType XWIKI_XAR_CURRENT
public static final FilterStreamType XWIKI_INSTANCE
public static final FilterStreamType CONFLUENCE_XML
public static final FilterStreamType MEDIAWIKI_XML
public static final FilterStreamType DOKUWIKI_TEXT
public FilterStreamType(SystemType type, String dataFormat)
type
- the type of WikidataFormat
- the export data formatpublic FilterStreamType(SystemType type, String dataFormat, String version)
type
- the type of WikidataFormat
- the export data formatversion
- the versionpublic SystemType getType()
public String getDataFormat()
public String getVersion()
public String serialize()
String
representation of the FilterStreamType
public static FilterStreamType unserialize(String str)
FilterStreamType
from a String
.str
- the String
to parseFilterStreamType
public int compareTo(FilterStreamType o)
compareTo
in interface Comparable<FilterStreamType>
Copyright © 2004–2022 XWiki. All rights reserved.