Esri Geoportal Server
1.0

com.esri.gpt.server.assertion.components
Class AsnSampleValueFilter

java.lang.Object
  extended by com.esri.gpt.server.assertion.components.AsnValueFilter
      extended by com.esri.gpt.server.assertion.components.AsnSampleValueFilter

public class AsnSampleValueFilter
extends AsnValueFilter

Sample value filter.

Replaces the lower case string "sample" with "*****"


Constructor Summary
AsnSampleValueFilter()
          Default constructor.
 
Method Summary
 String filter(String value)
          Filters a value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnSampleValueFilter

public AsnSampleValueFilter()
Default constructor.

Method Detail

filter

public String filter(String value)
              throws Exception
Filters a value.

Replaces the lower case string "sample" with "*****"

Specified by:
filter in class AsnValueFilter
Parameters:
value - the value to filter
Returns:
the filtered value
Throws:
Exception - if an exception occurs

Esri Geoportal Server
1.0

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