Oxygen XML Editor, Version 13.2

ro.sync.exml.plugin.openredirect
Interface OpenRedirectExtension

All Superinterfaces:
PluginExtension
All Known Implementing Classes:
CustomOpenRedirectExtension

public interface OpenRedirectExtension
extends PluginExtension

Plugin extension - open redirecting for URLs


Method Summary
 OpenRedirectInformation[] redirect(java.net.URL url)
          This call back can redirect an open call for an URL in different parts of Oxygen.
 

Method Detail

redirect

OpenRedirectInformation[] redirect(java.net.URL url)
This call back can redirect an open call for an URL in different parts of Oxygen. For example if you want to open a certain XML file from a ZIP archive, when the callback is received for the archive URL you can return two OpenRedirectInformation objects (one with the URL of the archive and the content type of the archive browser and the other with the URL of the file inside the archive and the content type "null" for auto-detection or text/xml).

Parameters:
url - The URL which will get opened in Oxygen
Returns:
null if the plugin lets the default behavior take place. Empty array if the plugin chooses not to open anything An array of redirect information objects which will direct Oxygen to open them with the specified content types.

Oxygen XML Editor, Version 13.2

© Copyright Syncro Soft SRL 2002 - 2012.