com.arcao.geocaching.api.impl.live_geocaching_api.filter
Class GeocacheExclusionsFilter

java.lang.Object
  extended by com.arcao.geocaching.api.impl.live_geocaching_api.filter.GeocacheExclusionsFilter
All Implemented Interfaces:
JsonSerializable, Filter

public class GeocacheExclusionsFilter
extends Object
implements Filter


Constructor Summary
GeocacheExclusionsFilter(Boolean archived, Boolean available, Boolean premium)
           
 
Method Summary
 String getName()
          Get a name of filter
 boolean isValid()
          Is filter valid, mean can be used?
 void writeJson(com.google.gson.stream.JsonWriter w)
          Called during serialization process and must be implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeocacheExclusionsFilter

public GeocacheExclusionsFilter(Boolean archived,
                                Boolean available,
                                Boolean premium)
Method Detail

isValid

public boolean isValid()
Description copied from interface: Filter
Is filter valid, mean can be used?

Specified by:
isValid in interface Filter
Returns:
true if the filter is valid otherwise false

writeJson

public void writeJson(com.google.gson.stream.JsonWriter w)
               throws IOException
Description copied from interface: JsonSerializable
Called during serialization process and must be implemented.

Specified by:
writeJson in interface JsonSerializable
Parameters:
w - JsonWriter object for writing output
Throws:
IOException - If I/O error occurs

getName

public String getName()
Description copied from interface: Filter
Get a name of filter

Specified by:
getName in interface Filter
Returns:
name of filter


Copyright © 2012. All Rights Reserved.