Novell exteNd
Director 5.2 API

com.novell.afw.portlet.api
Interface EbiPortletUserAgent


public interface EbiPortletUserAgent

Interface to represent the a device profile in a portlet style. The information in this class is taken from the portlet-app section of the novell-portlet.xml deployment descriptor.

Since:
v5.0

Method Summary
 String getDeviceName()
          get the name of the device this file / these files are for
 String getDPFileName()
          get the name / URL of the transcoding definition to use for this device and locale (or language)
 String getFileName()
          get the name / URL of the style sheet to use for this device and locale (or language)
 String getLocalizationFile()
          Gets the string which can be used to indicate to the aggregation engine that a style sheet supports localization.
 

Method Detail

getDeviceName

public String getDeviceName()
get the name of the device this file / these files are for
Returns:
the name of the device
Since:
v5.0

getFileName

public String getFileName()
get the name / URL of the style sheet to use for this device and locale (or language)
Returns:
a URL to an xsl style sheet
Since:
v5.0

getDPFileName

public String getDPFileName()
get the name / URL of the transcoding definition to use for this device and locale (or language)
Returns:
a URL to a transcoding definition
Since:
v5.0

getLocalizationFile

public String getLocalizationFile()
Gets the string which can be used to indicate to the aggregation engine that a style sheet supports localization. By default, if a style (referenced in //user-agent/file-name) contains an xsl:import or include with an href to