public interface Formats
| Modifier and Type | Field and Description |
|---|---|
static String[] |
ALL_KNOWN_FORMATS
the array of all the known formats in this file
|
static String |
ATOM
ATOM XML feed (application/atom+xml)
http://en.wikipedia.org/wiki/ATOM INPUT: -not supported- OUTPUT: -not supported- |
static String[] |
ATOM_EXTENSIONS |
static String |
ATOM_MIME_TYPE |
static String |
FORM
Special output format which indicates this entity will use internally generated
forms for input data, the output simply produces very simple html forms,
this is handled internally
INPUT: none OUTPUT: XHTML text (forms for submitting data) |
static String[] |
FORM_EXTENSIONS |
static String |
FORM_MIME_TYPE |
static String |
HTML
HTML formatted text (text/html or application/xhtml+xml)
http://en.wikipedia.org/wiki/HTML INPUT: POST or GET form data OUTPUT: (X)HTML text |
static String[] |
HTML_EXTENSIONS |
static String |
HTML_MIME_TYPE |
static String |
JSON
JSON formatted text (application/json or text/javascript)
http://en.wikipedia.org/wiki/JSON INPUT: JSON text OUTPUT: JSON text |
static String[] |
JSON_EXTENSIONS |
static String |
JSON_MIME_TYPE |
static String |
JSONP
JSON formatted text with JSONP callback (application/javascript)
http://en.wikipedia.org/wiki/JSON INPUT: -not supported, see JSON- OUTPUT: JSON text with callback (jsonEntityFeed({...}) by default) |
static String[] |
JSONP_EXTENSIONS |
static String |
JSONP_MIME_TYPE |
static String |
RSS
RSS 2 XML feed (application/rss+xml)
http://en.wikipedia.org/wiki/RSS INPUT: -not supported- OUTPUT: -not supported- |
static String[] |
RSS_EXTENSIONS |
static String |
RSS_MIME_TYPE |
static String |
TXT
Plain text (text/plain)
http://en.wikipedia.org/wiki/Plain_text INPUT: -not supported- OUTPUT: text |
static String[] |
TXT_EXTENSIONS |
static String |
TXT_MIME_TYPE |
static String |
UTF_8
All character data should be encoded and decoded as UTF-8,
this constant is the proper encoding string to use
|
static String |
XML
XML formatted text (application/xml or text/xml)
http://en.wikipedia.org/wiki/XML INPUT: XML text OUTPUT: XML text |
static String[] |
XML_EXTENSIONS |
static String |
XML_MIME_TYPE |
static final String HTML
static final String HTML_MIME_TYPE
static final String[] HTML_EXTENSIONS
static final String FORM
static final String FORM_MIME_TYPE
static final String[] FORM_EXTENSIONS
static final String XML
static final String XML_MIME_TYPE
static final String[] XML_EXTENSIONS
static final String JSON
static final String JSON_MIME_TYPE
static final String[] JSON_EXTENSIONS
static final String JSONP
static final String JSONP_MIME_TYPE
static final String[] JSONP_EXTENSIONS
static final String TXT
static final String TXT_MIME_TYPE
static final String[] TXT_EXTENSIONS
static final String RSS
static final String RSS_MIME_TYPE
static final String[] RSS_EXTENSIONS
static final String ATOM
static final String ATOM_MIME_TYPE
static final String[] ATOM_EXTENSIONS
static final String UTF_8
static final String[] ALL_KNOWN_FORMATS
Copyright © 2003–2021 Sakai Project. All rights reserved.