Package org.n52.iceland.ogc.ows
Class OwsServiceIdentificationFactory
- java.lang.Object
-
- org.n52.iceland.util.LazyThreadSafeProducer<T>
-
- org.n52.iceland.util.LocalizedLazyThreadSafeProducer<OwsServiceIdentification>
-
- org.n52.iceland.ogc.ows.OwsServiceIdentificationFactory
-
- All Implemented Interfaces:
com.google.common.base.Supplier<OwsServiceIdentification>,Supplier<OwsServiceIdentification>,javax.inject.Provider<OwsServiceIdentification>,LocalizedProducer<OwsServiceIdentification>,Producer<OwsServiceIdentification>
@Configurable public class OwsServiceIdentificationFactory extends LocalizedLazyThreadSafeProducer<OwsServiceIdentification>
-
-
Constructor Summary
Constructors Constructor Description OwsServiceIdentificationFactory(String service, ServiceOperatorRepository repository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OwsServiceIdentificationcreate(Locale language)Set<Locale>getAvailableLocales()Gets theLocales available to thisProducer.voidsetAbstract(Object description)voidsetConstraints(String constraints)voidsetConstraints(String[] constraints)voidsetDefaultLanguage(String lang)voidsetFees(String fees)voidsetKeywords(String keywords)voidsetKeywords(String[] keywords)voidsetShowAllLanguageValues(boolean showAllLanguageValues)voidsetTitle(Object title)-
Methods inherited from class org.n52.iceland.util.LocalizedLazyThreadSafeProducer
create, get, setRecreate
-
Methods inherited from class org.n52.iceland.util.LazyThreadSafeProducer
get
-
-
-
-
Constructor Detail
-
OwsServiceIdentificationFactory
public OwsServiceIdentificationFactory(String service, ServiceOperatorRepository repository)
-
-
Method Detail
-
setShowAllLanguageValues
@Setting("i18n.showAllLanguageValues") public void setShowAllLanguageValues(boolean showAllLanguageValues)
-
setKeywords
public void setKeywords(String[] keywords)
-
setTitle
@Setting("serviceIdentification.title") public void setTitle(Object title) throws ConfigurationError
- Throws:
ConfigurationError
-
setAbstract
@Setting("serviceIdentification.abstract") public void setAbstract(Object description) throws ConfigurationError
- Throws:
ConfigurationError
-
setConstraints
public void setConstraints(String[] constraints)
-
setConstraints
@Setting("serviceIdentification.accessConstraints") public void setConstraints(String constraints)
-
create
protected OwsServiceIdentification create(Locale language) throws ConfigurationError
- Specified by:
createin classLocalizedLazyThreadSafeProducer<OwsServiceIdentification>- Throws:
ConfigurationError
-
getAvailableLocales
public Set<Locale> getAvailableLocales()
Description copied from interface:LocalizedProducerGets theLocales available to thisProducer.- Returns:
- the locales
-
-