com.gisgraphy.domain.valueobject
Class Constants

java.lang.Object
  extended by com.gisgraphy.domain.valueobject.Constants

public class Constants
extends java.lang.Object

Author:
David Masclet Some Constants

Nested Class Summary
static class Constants.SolrQueryType
          All the Query type in the Gisgraphy solr config file
 
Field Summary
static java.lang.String[] APPLICATION_CONTEXT_NAMES
          An Array of the applicationContext names
static java.lang.String[] APPLICATION_CONTEXT_NAMES_FOR_TEST
          An Array of the ApplicationContext names for tests
static java.lang.String[] APPLICATION_CONTEXT_NAMES_NON_WEB
          application context files to start classpath in a non web context, (note that : javax.servlet should be added in the classpath) then you can start new ClassPathXmlApplicationContext(Constants.APPLICATION_CONTEXT_NAMES_NON_WEB);
static java.lang.String APPLICATION_CONTEXT_NAMES_STRING
          A String of the ApplicationContext names
static java.lang.String APPLICATION_CONTEXT_NAMES_STRING_FOR_TESTS
          A String of the ApplicationContext names used for tests
static java.lang.String ATOM_STYLESHEET
          The name of the XSL to apply to output ATOM format
static java.lang.String BUNDLE_ERROR_KEY
          The name of the ResourceBundle used in this application for errors
static java.lang.String BUNDLE_KEY
          The name of the ResourceBundle used in this application
static java.lang.String CHARSET
          Default charset
static java.lang.String ECHOPARAMS_PARAMETER
          The echoparam parameter (if the query parameters should be print in the response, Solr parameter name)
static java.lang.String ENTITY_PACKAGE
          A string that is used to load a class from a string with class.forName()
static java.lang.String ENVIRONEMENT_BUNDLE_KEY
          The name of the ResourceBundle for environement properties that hold gisgraphy configuration
static java.lang.String FEATURECODE_BUNDLE_KEY
          The name of the ResourceBundle for Feature class / code used in this application
static java.lang.String FEED_DESCRIPTION
          The default Description for the RSS/ATOM
static java.lang.String FEED_LINK
          The default Link for the RSS/ATOM
static java.lang.String FEED_TITLE
          The default title for the RSS/ATOM
static java.lang.String FL_PARAMETER
          The field list to return (Solr parameter name)
static java.lang.String GEOLOCRESULTSDTO_JAXB_NAME
          The node name for GeolocResultsDto node in JAXB
static java.lang.String GEORSS_STYLESHEET
          The name of the XSL to apply to output Geo RSS format
static java.lang.String GIS_DATE_PATTERN
          Default Date pattern
static java.lang.String GISFEATURE_BASE_URL
          The Base URL for building GISFeature URL
static java.lang.String GISFEATUREDISTANCE_JAXB_NAME
          The node name for GisFeatureDistance node in JAXB
static java.lang.String HTTP_REFERER_HEADER_NAME
          The name of the Referer Header
static java.lang.String HTTP_USER_AGENT_HEADER_NAME
          The name of The User Agent Header
static java.lang.String INDENT_PARAMETER
          The indent parameter (Solr parameter name)
static java.lang.String MAIL_ADDRESS
          The default mail address
static java.lang.String OUTPUT_FORMAT_PARAMETER
          The output format (XML, json,...) parameter name
static java.lang.String QF_PARAMETER
          The field on which we want to search
static java.lang.String QT_PARAMETER
          The query type parameter (dismax, standard, ...)
static java.lang.String QUERY_PARAMETER
          The parameter to specifie the text to search (Solr parameter name)
static double RADIUS_OF_EARTH_IN_METERS
          The radius of the earth
static java.lang.String ROWS_PARAMETER
          The rows parameter (useful for paginate, Solr parameter name)
static java.lang.String SPELLCHECKER_BUILD_PARAMETER
          The parameter name to Rebuild the spellchecker (Solr parameter name)
static java.lang.String SPELLCHECKER_COLLATE_RESULTS_PARAMETER
          The parameter name to define the number of suggestion for the spellchecker (Solr parameter name)
static java.lang.String SPELLCHECKER_DICTIONARY_NAME_PARAMETER
          The parameter name to define the name of the dictionary to use for the spellchecker (Solr parameter name)
static java.lang.String SPELLCHECKER_ENABLED_PARAMETER
          The parameter name to active the spellchecker (Solr parameter name)
static java.lang.String SPELLCHECKER_NUMBER_OF_SUGGESTION_PARAMETER
          The parameter name to define the number of suggestion for the spellchecker (Solr parameter name)
static java.lang.String SPELLCHECKER_QUERY_PARAMETER
          The parameter name to define the query to use for the spellchecker (Solr parameter name)
static java.lang.String SPELLCHECKER_RELOAD_PARAMETER
          The parameter name to Rebuild the spellchecker (Solr parameter name)
static java.lang.String START_PARAMETER
          The start rows parameter (useful for paginate, Solr parameter name)
static java.lang.String STREET_BASE_URL
           
static java.lang.String STREETDISTANCE_JAXB_NAME
          The node name for StreetDistance node in JAXB
static java.lang.String STREETSEARCHRESULTSDTO_JAXB_NAME
          The node name for StreetSearchResultsDto node in JAXB
static java.lang.String STYLESHEET_PARAMETER
          The XSLT stylesheet parameter name
 
Constructor Summary
Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHARSET

public static final java.lang.String CHARSET
Default charset

See Also:
Constant Field Values

GIS_DATE_PATTERN

public static final java.lang.String GIS_DATE_PATTERN
Default Date pattern

See Also:
Constant Field Values

QF_PARAMETER

public static final java.lang.String QF_PARAMETER
The field on which we want to search

See Also:
Constant Field Values

OUTPUT_FORMAT_PARAMETER

public static final java.lang.String OUTPUT_FORMAT_PARAMETER
The output format (XML, json,...) parameter name

See Also:
OutputFormat, Constant Field Values

STYLESHEET_PARAMETER

public static final java.lang.String STYLESHEET_PARAMETER
The XSLT stylesheet parameter name

See Also:
OutputFormat, Constant Field Values

ATOM_STYLESHEET

public static final java.lang.String ATOM_STYLESHEET
The name of the XSL to apply to output ATOM format

See Also:
OutputFormat, Constant Field Values

GEORSS_STYLESHEET

public static final java.lang.String GEORSS_STYLESHEET
The name of the XSL to apply to output Geo RSS format

See Also:
OutputFormat, Constant Field Values

FL_PARAMETER

public static final java.lang.String FL_PARAMETER
The field list to return (Solr parameter name)

See Also:
Constant Field Values

QUERY_PARAMETER

public static final java.lang.String QUERY_PARAMETER
The parameter to specifie the text to search (Solr parameter name)

See Also:
Constant Field Values

QT_PARAMETER

public static final java.lang.String QT_PARAMETER
The query type parameter (dismax, standard, ...) (Solr parameter name)

See Also:
Constant Field Values

ROWS_PARAMETER

public static final java.lang.String ROWS_PARAMETER
The rows parameter (useful for paginate, Solr parameter name)

See Also:
Constant Field Values

INDENT_PARAMETER

public static final java.lang.String INDENT_PARAMETER
The indent parameter (Solr parameter name)

See Also:
Constant Field Values

ECHOPARAMS_PARAMETER

public static final java.lang.String ECHOPARAMS_PARAMETER
The echoparam parameter (if the query parameters should be print in the response, Solr parameter name)

See Also:
Constant Field Values

START_PARAMETER

public static final java.lang.String START_PARAMETER
The start rows parameter (useful for paginate, Solr parameter name)

See Also:
Constant Field Values

SPELLCHECKER_ENABLED_PARAMETER

public static final java.lang.String SPELLCHECKER_ENABLED_PARAMETER
The parameter name to active the spellchecker (Solr parameter name)

See Also:
Constant Field Values

SPELLCHECKER_BUILD_PARAMETER

public static final java.lang.String SPELLCHECKER_BUILD_PARAMETER
The parameter name to Rebuild the spellchecker (Solr parameter name)

See Also:
Constant Field Values

SPELLCHECKER_RELOAD_PARAMETER

public static final java.lang.String SPELLCHECKER_RELOAD_PARAMETER
The parameter name to Rebuild the spellchecker (Solr parameter name)

See Also:
Constant Field Values

SPELLCHECKER_NUMBER_OF_SUGGESTION_PARAMETER

public static final java.lang.String SPELLCHECKER_NUMBER_OF_SUGGESTION_PARAMETER
The parameter name to define the number of suggestion for the spellchecker (Solr parameter name)

See Also:
Constant Field Values

SPELLCHECKER_COLLATE_RESULTS_PARAMETER

public static final java.lang.String SPELLCHECKER_COLLATE_RESULTS_PARAMETER
The parameter name to define the number of suggestion for the spellchecker (Solr parameter name)

See Also:
Constant Field Values

SPELLCHECKER_DICTIONARY_NAME_PARAMETER

public static final java.lang.String SPELLCHECKER_DICTIONARY_NAME_PARAMETER
The parameter name to define the name of the dictionary to use for the spellchecker (Solr parameter name)

See Also:
Constant Field Values

SPELLCHECKER_QUERY_PARAMETER

public static final java.lang.String SPELLCHECKER_QUERY_PARAMETER
The parameter name to define the query to use for the spellchecker (Solr parameter name)

See Also:
Constant Field Values

ENTITY_PACKAGE

public static final java.lang.String ENTITY_PACKAGE
A string that is used to load a class from a string with class.forName()

See Also:
Constant Field Values

RADIUS_OF_EARTH_IN_METERS

public static final double RADIUS_OF_EARTH_IN_METERS
The radius of the earth

See Also:
Constant Field Values

APPLICATION_CONTEXT_NAMES

public static final java.lang.String[] APPLICATION_CONTEXT_NAMES
An Array of the applicationContext names


APPLICATION_CONTEXT_NAMES_NON_WEB

public static final java.lang.String[] APPLICATION_CONTEXT_NAMES_NON_WEB
application context files to start classpath in a non web context, (note that : javax.servlet should be added in the classpath) then you can start new ClassPathXmlApplicationContext(Constants.APPLICATION_CONTEXT_NAMES_NON_WEB);


APPLICATION_CONTEXT_NAMES_FOR_TEST

public static final java.lang.String[] APPLICATION_CONTEXT_NAMES_FOR_TEST
An Array of the ApplicationContext names for tests


APPLICATION_CONTEXT_NAMES_STRING

public static final java.lang.String APPLICATION_CONTEXT_NAMES_STRING
A String of the ApplicationContext names


APPLICATION_CONTEXT_NAMES_STRING_FOR_TESTS

public static final java.lang.String APPLICATION_CONTEXT_NAMES_STRING_FOR_TESTS
A String of the ApplicationContext names used for tests


GISFEATUREDISTANCE_JAXB_NAME

public static final java.lang.String GISFEATUREDISTANCE_JAXB_NAME
The node name for GisFeatureDistance node in JAXB

See Also:
Constant Field Values

STREETDISTANCE_JAXB_NAME

public static final java.lang.String STREETDISTANCE_JAXB_NAME
The node name for StreetDistance node in JAXB

See Also:
Constant Field Values

GEOLOCRESULTSDTO_JAXB_NAME

public static final java.lang.String GEOLOCRESULTSDTO_JAXB_NAME
The node name for GeolocResultsDto node in JAXB

See Also:
Constant Field Values

STREETSEARCHRESULTSDTO_JAXB_NAME

public static final java.lang.String STREETSEARCHRESULTSDTO_JAXB_NAME
The node name for StreetSearchResultsDto node in JAXB

See Also:
Constant Field Values

BUNDLE_KEY

public static final java.lang.String BUNDLE_KEY
The name of the ResourceBundle used in this application

See Also:
Constant Field Values

BUNDLE_ERROR_KEY

public static final java.lang.String BUNDLE_ERROR_KEY
The name of the ResourceBundle used in this application for errors

See Also:
Constant Field Values

FEATURECODE_BUNDLE_KEY

public static final java.lang.String FEATURECODE_BUNDLE_KEY
The name of the ResourceBundle for Feature class / code used in this application

See Also:
Constant Field Values

ENVIRONEMENT_BUNDLE_KEY

public static final java.lang.String ENVIRONEMENT_BUNDLE_KEY
The name of the ResourceBundle for environement properties that hold gisgraphy configuration

See Also:
Constant Field Values

FEED_TITLE

public static final java.lang.String FEED_TITLE
The default title for the RSS/ATOM

See Also:
Constant Field Values

FEED_LINK

public static final java.lang.String FEED_LINK
The default Link for the RSS/ATOM

See Also:
Constant Field Values

FEED_DESCRIPTION

public static final java.lang.String FEED_DESCRIPTION
The default Description for the RSS/ATOM

See Also:
Constant Field Values

GISFEATURE_BASE_URL

public static final java.lang.String GISFEATURE_BASE_URL
The Base URL for building GISFeature URL

See Also:
Constant Field Values

STREET_BASE_URL

public static final java.lang.String STREET_BASE_URL
See Also:
Constant Field Values

MAIL_ADDRESS

public static final java.lang.String MAIL_ADDRESS
The default mail address

See Also:
Constant Field Values

HTTP_USER_AGENT_HEADER_NAME

public static final java.lang.String HTTP_USER_AGENT_HEADER_NAME
The name of The User Agent Header

See Also:
Constant Field Values

HTTP_REFERER_HEADER_NAME

public static final java.lang.String HTTP_REFERER_HEADER_NAME
The name of the Referer Header

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()


Copyright © 2010. All Rights Reserved.