com.centrasite.control.registry.items
Class ImageLoader

java.lang.Object
  extended by com.centrasite.control.registry.items.ImageLoader

public class ImageLoader
extends java.lang.Object


Field Summary
static java.lang.String rcs_id
           
 
Constructor Summary
ImageLoader(Connector con)
           
 
Method Summary
 java.lang.String getImageURL(javax.xml.registry.infomodel.RegistryObject ro)
          Determine appropriate icon for given RegistryObject.
 java.lang.String getImageURL(java.lang.String objectType)
          Determine icon for given object type.
 java.lang.String getImageURLWithoutObjectTypeLookup(javax.xml.registry.infomodel.RegistryObject ro)
          Determine appropriate icon for given RegistryObject without lookup for icon of object type.
 java.lang.String getLargeImageURL(javax.xml.registry.infomodel.RegistryObject ro)
          Determine appropriate large icon for given RegistryObject.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rcs_id

public static final java.lang.String rcs_id
See Also:
Constant Field Values
Constructor Detail

ImageLoader

public ImageLoader(Connector con)
Method Detail

getImageURL

public java.lang.String getImageURL(java.lang.String objectType)
                             throws java.lang.Exception
Determine icon for given object type.

Throws:
java.lang.Exception

getImageURL

public java.lang.String getImageURL(javax.xml.registry.infomodel.RegistryObject ro)
                             throws java.lang.Exception
Determine appropriate icon for given RegistryObject.

Throws:
java.lang.Exception

getLargeImageURL

public java.lang.String getLargeImageURL(javax.xml.registry.infomodel.RegistryObject ro)
                                  throws java.lang.Exception
Determine appropriate large icon for given RegistryObject.

Throws:
java.lang.Exception

getImageURLWithoutObjectTypeLookup

public java.lang.String getImageURLWithoutObjectTypeLookup(javax.xml.registry.infomodel.RegistryObject ro)
                                                    throws java.lang.Exception
Determine appropriate icon for given RegistryObject without lookup for icon of object type.

Throws:
java.lang.Exception