Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.filter.definition
Class CQLFilterDefinition

java.lang.Object
  extended by eu.esdihumboldt.hale.common.filter.definition.CQLFilterDefinition
All Implemented Interfaces:
FilterDefinition<FilterGeoCqlImpl>, ObjectDefinition<FilterGeoCqlImpl>

public class CQLFilterDefinition
extends Object
implements FilterDefinition<FilterGeoCqlImpl>

Object definition for CQL filters.

Author:
Simon Templer

Constructor Summary
CQLFilterDefinition()
           
 
Method Summary
 String asString(FilterGeoCqlImpl object)
          Represent the given object as a definition string, so that it can be used to again create an object instance using ObjectDefinition.parse(String).
 String getIdentifier()
          Get the factory identifier.
 Class<FilterGeoCqlImpl> getObjectClass()
          Get the class of the supported object.
 FilterGeoCqlImpl parse(String value)
          Parse the given definition string and create an object instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CQLFilterDefinition

public CQLFilterDefinition()
Method Detail

getIdentifier

public String getIdentifier()
Description copied from interface: ObjectDefinition
Get the factory identifier. The identifier must be unique for object factories that have compatible supported types. It is used to associate a definition string to the factory. The identifier may not contain a :

Specified by:
getIdentifier in interface ObjectDefinition<FilterGeoCqlImpl>
Returns:
the factory identifier
See Also:
ObjectDefinition.getIdentifier()

getObjectClass

public Class<FilterGeoCqlImpl> getObjectClass()
Description copied from interface: ObjectDefinition
Get the class of the supported object.

Specified by:
getObjectClass in interface ObjectDefinition<FilterGeoCqlImpl>
Returns:
the object class supported by this factory
See Also:
ObjectDefinition.getObjectClass()

parse

public FilterGeoCqlImpl parse(String value)
Description copied from interface: ObjectDefinition
Parse the given definition string and create an object instance.

Specified by:
parse in interface ObjectDefinition<FilterGeoCqlImpl>
Parameters:
value - the definition string to parse
Returns:
the CRS definition instance or null
See Also:
ObjectDefinition.parse(String)

asString

public String asString(FilterGeoCqlImpl object)
Description copied from interface: ObjectDefinition
Represent the given object as a definition string, so that it can be used to again create an object instance using ObjectDefinition.parse(String).

Specified by:
asString in interface ObjectDefinition<FilterGeoCqlImpl>
Parameters:
object - the object to create a string representation for
Returns:
the string representation of the object
See Also:
ObjectDefinition.asString(Object)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d