Esri Geoportal Server
1.0

com.esri.gpt.control.search.browse
Class TocsByKey

java.lang.Object
  extended by com.esri.gpt.framework.jsf.FacesMap<Boolean>
      extended by com.esri.gpt.control.search.browse.TocsByKey
All Implemented Interfaces:
Serializable, Map<String,Boolean>

public class TocsByKey
extends FacesMap<Boolean>

Provides a Map interface for setting the rendered attribute of a Faces component based upon a supplied browse toc key.

Example:
rendered="#{PageContext.tocsByKey['browseCatalog']}"

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
TocsByKey(TocCollection tocs)
          Constructs based upon a supplied tocs.
 
Method Summary
 Boolean get(Object key)
          Implements the "get" method for a Map to return toc configuration status a tag.
 
Methods inherited from class com.esri.gpt.framework.jsf.FacesMap
clear, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

TocsByKey

public TocsByKey(TocCollection tocs)
Constructs based upon a supplied tocs.

Parameters:
tocs - the tocs collections configured
Method Detail

get

public Boolean get(Object key)
Implements the "get" method for a Map to return toc configuration status a tag.
The supplied tag should be a string.

Specified by:
get in interface Map<String,Boolean>
Overrides:
get in class FacesMap<Boolean>
Parameters:
key - the key associated with the toc
Returns:
true is toc is configured

Esri Geoportal Server
1.0

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