com.esri.core.symbol.advanced
Class SymbolDictionaryQuery

java.lang.Object
  extended by com.esri.core.symbol.advanced.SymbolDictionaryQuery

public class SymbolDictionaryQuery
extends Object

The SymbolDictionaryQuery class is used to build up queries against the symbol dictionary to return a list of symbols.
You can search symbols by filtering the dictionary with SymbolDictionaryFilters and/or keywords.


Constructor Summary
SymbolDictionaryQuery()
           
 
Method Summary
 void addFilter(SymbolDictionaryFilter filter)
          Adds a filter to the query
 void addKeyword(String keyword)
          Adds a keyword to the query
 void clear()
          Clears the query (removes all filters and keywords)
 List<SymbolDictionaryFilter> getFilters()
          Returns all the filters currently held in the query
 List<String> getKeywords()
          Returns all the keywords currently held in the query
 void removeFilter(SymbolDictionaryFilter filter)
          Removes the filter passed in parameter from the query
 void removeKeyword(String keyword)
          Removes the keyword passed in parameter from the query
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolDictionaryQuery

public SymbolDictionaryQuery()
Method Detail

addFilter

public void addFilter(SymbolDictionaryFilter filter)
Adds a filter to the query

Parameters:
filter - the SymbolDictionaryFilter to add

addKeyword

public void addKeyword(String keyword)
Adds a keyword to the query

Parameters:
keyword - the keyword to add

clear

public void clear()
Clears the query (removes all filters and keywords)


getFilters

public List<SymbolDictionaryFilter> getFilters()
Returns all the filters currently held in the query

Returns:
a List of SymbolDictionaryFilter

getKeywords

public List<String> getKeywords()
Returns all the keywords currently held in the query

Returns:
a List of keywords

removeFilter

public void removeFilter(SymbolDictionaryFilter filter)
Removes the filter passed in parameter from the query

Parameters:
filter - the SymbolDictionaryFilter to remove

removeKeyword

public void removeKeyword(String keyword)
Removes the keyword passed in parameter from the query

Parameters:
keyword - the keyword to remove


Copyright © 2012. All Rights Reserved.