Esri Geoportal Server
1.0

com.esri.gpt.server.csw.provider.components
Class SupportedValues

java.lang.Object
  extended by com.esri.gpt.server.csw.provider.components.SupportedValues
All Implemented Interfaces:
ISupportedValues

public class SupportedValues
extends Object
implements ISupportedValues

Holds a set of supported values associated with a request parameter.


Constructor Summary
SupportedValues()
          Default constructor
SupportedValues(String tokens, String delimiter)
          Constructs the set of supported values from a delimited string.
 
Method Summary
 String getSupportedValue(String requestedValue)
          Gets the supported value associated with a requested value.
 boolean isValueSupported(String requestedValue)
          Determines if a requested value is supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupportedValues

public SupportedValues()
Default constructor


SupportedValues

public SupportedValues(String tokens,
                       String delimiter)
Constructs the set of supported values from a delimited string.

Parameters:
tokens - the delimited string to tokenize
delimiter - the delimiter
Method Detail

getSupportedValue

public String getSupportedValue(String requestedValue)
Gets the supported value associated with a requested value.

Specified by:
getSupportedValue in interface ISupportedValues
Parameters:
requestedValue - the requested value
Returns:
the supported value (null if unsupported)

isValueSupported

public boolean isValueSupported(String requestedValue)
Determines if a requested value is supported.

Specified by:
isValueSupported in interface ISupportedValues
Parameters:
requestedValue - the requested value
Returns:
true if the value is supported

Esri Geoportal Server
1.0

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