ArcGIS Server Geoportal extension
10

com.esri.gpt.control.livedata
Interface IRendererFactory


public interface IRendererFactory

Renderer factory. Provides mechanizm to create instance of the renderer corresponding to the specific URL.


Method Summary
 IRenderer createFor(String url)
          Checks if renderer can be applied to the particular URL.
 IRenderer createFor(String url, CredentialProvider cp)
          Checks if renderer can be applied to the particular URL.
 boolean isDefinitive()
          Checks if factory represents definitive protocol.
 void register(IRegistry reg, ISetter setter, String url)
          Registers URL.
 

Method Detail

register

void register(IRegistry reg,
              ISetter setter,
              String url)
Registers URL.

Parameters:
reg - registry
setter - renderer setter
url - URL to register

createFor

IRenderer createFor(String url)
Checks if renderer can be applied to the particular URL.

Parameters:
url - URL of the live data service
Returns:
renderer matching URL or null if no renererer matches

createFor

IRenderer createFor(String url,
                    CredentialProvider cp)
Checks if renderer can be applied to the particular URL.

Parameters:
url - URL of the live data service
cp - credential provider
Returns:
renderer matching URL or null if no renererer matches

isDefinitive

boolean isDefinitive()
Checks if factory represents definitive protocol. Definitive protocol is the one when responds to the initial request it can be considered as the only choice.

Returns:
true if protocol is definitive;

ArcGIS Server Geoportal extension
10

Copyright 2010 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.