Package ro.sync.exml.plugin.openredirect
Class OpenRedirectInformation
java.lang.Object
ro.sync.exml.plugin.openredirect.OpenRedirectInformation
- All Implemented Interfaces:
ro.sync.basic.contenttypes.ContentTypes
@API(type=EXTENDABLE,
src=PUBLIC)
public class OpenRedirectInformation
extends Object
implements ro.sync.basic.contenttypes.ContentTypes
Information about redirecting an URL
-
Field Summary
Fields inherited from interface ro.sync.basic.contenttypes.ContentTypes
ANT_CONTENT_TYPE, ANY_CONTENT_TYPE, BATCH_CONTENT_TYPE, C_CONTENT_TYPE, CPLUSPLUS_CONTENT_TYPE, CSS_CONTENT_TYPE, DITAMAP_CONTENT_TYPE, DOCKERFILE_CONTENT_TYPE, DTD_CONTENT_TYPE, EXF_CONTENT_TYPE, HTML_CONTENT_TYPE, IMAGE_CONTENT_TYPE, JAVA_CONTENT_TYPE, JAVASCRIPT_CONTENT_TYPE, JSON_CONTENT_TYPE, JSON_SCHEMA_CONTENT_TYPE, JSON5_CONTENT_TYPE, JSONL_CONTENT_TYPE, LESS_CONTENT_TYPE, MD_CONTENT_TYPE, NVDL_CONTENT_TYPE, PERL_CONTENT_TYPE, PHP_CONTENT_TYPE, PLAIN_TEXT_CONTENT_TYPE, POWER_SHELL_CONTENT_TYPE, PROPERTIES_CONTENT_TYPE, PYTHON_CONTENT_TYPE, RNC_CONTENT_TYPE, RNG_CONTENT_TYPE, SCHEMATRON_CONTENT_TYPE, SHELL_CONTENT_TYPE, SQL_CONTENT_TYPE, SVG_CONTENT_TYPE, WSDL_CONTENT_TYPE, XHTML_CONTENT_TYPE, XML_CONTENT_TYPE, XPATH_CONTENT_TYPE, XPROC_CONTENT_TYPE, XQUERY_CONTENT_TYPE, XSD_CONTENT_TYPE, XSL_CONTENT_TYPE, XSPEC_CONTENT_TYPE, YAML_CONTENT_TYPE, ZIP_CONTENT_TYPE
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenRedirectInformation
Constructor.- Parameters:
url
- The URL to opencontentType
- The content type to open as. Can be null for auto open. The content type can either be null (and Oxygen will do the default detection) or one of the constant values defined in this class like:- application/zip - To open in the Archive Browser
- application/ditamap - To open in the DITA Maps Manager
- application/image - To open in the Image Previewer
- text/xml - To open in the XML editor
- text/css - To open in the CSS editor
- ...
-
-
Method Details
-
getContentType
- Returns:
- Returns the contentType.
-
getUrl
- Returns:
- Returns the url.
-