com.ibm.designer.domino.xsp.registry
Class Icon

java.lang.Object
  extended by com.ibm.designer.domino.xsp.registry.Icon

public class Icon
extends java.lang.Object

An icon object that is generated based on the meta data for an XPages artifact in xsp-config.


Constructor Summary
Icon(java.lang.String lang, java.lang.String large, java.net.URL largeIconUrl, java.lang.String small, java.net.URL smallIconUrl)
          Creates a new Icon instance.
 
Method Summary
 java.lang.String getLang()
          Returns the language
 java.lang.String getLargeIcon()
          Returns the path to the large icon.
 java.net.URL getLargeIconUrl()
          Returns the url to the large icon.
 java.lang.String getSmallIcon()
          Returns the path to the small icon
 java.net.URL getSmallIconUrl()
          Returns the url to the small icon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Icon

public Icon(java.lang.String lang,
            java.lang.String large,
            java.net.URL largeIconUrl,
            java.lang.String small,
            java.net.URL smallIconUrl)
Creates a new Icon instance. An icon can be created on a per-language basis.

Parameters:
lang - the value of xml:lang
large - the path to the large icon, or null.
small - the path to the small icon, or null.
Method Detail

getLang

public java.lang.String getLang()
Returns the language

Returns:
the lang, may be null.

getLargeIcon

public java.lang.String getLargeIcon()
Returns the path to the large icon.

Returns:
the largeIcon.

getSmallIcon

public java.lang.String getSmallIcon()
Returns the path to the small icon

Returns:
the smallIcon.

getLargeIconUrl

public java.net.URL getLargeIconUrl()
Returns the url to the large icon.

Returns:
null or a URL corresponding to the path in getLargeIcon()

getSmallIconUrl

public java.net.URL getSmallIconUrl()
Returns the url to the small icon.

Returns:
null or a URL corresponding to the path in getSmallIcon()