|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.instance.geometry.impl.AbstractCRSManager
public abstract class AbstractCRSManager
Base class for CRS managers storing/loading preferences about assigned CRSs.
Field Summary | |
---|---|
static String |
PARAM_DEFAULT_CRS
The configuration parameter name for the default CRS definition. |
static String |
PREFIX_PARAM_CRS
The prefix for configuration parameter names for the default CRS definition for a property. |
Constructor Summary | |
---|---|
AbstractCRSManager(InstanceReader reader,
CRSProvider provider)
Create a CRS manager. |
Method Summary | |
---|---|
CRSDefinition |
getCRS(TypeDefinition parentType,
List<QName> propertyPath)
Get the CRS definition for values of the given property definition. |
protected abstract String |
loadValue(String key)
Load a configuration value. |
protected abstract void |
storeValue(String key,
String value)
Store a configuration value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PARAM_DEFAULT_CRS
AbstractObjectFactory.parse(String)
is used to handle any values,
so CRSDefinitionManager#asString(CRSDefinition)
should be used to
create them.
public static final String PREFIX_PARAM_CRS
PropertyDefinition
identifier.
AbstractObjectFactory.parse(String)
is used to handle any values,
so CRSDefinitionManager#asString(CRSDefinition)
should be used to
create them.
Constructor Detail |
---|
public AbstractCRSManager(InstanceReader reader, CRSProvider provider)
reader
- the instance readerprovider
- the internal CRS provider to use, may be
null
Method Detail |
---|
public CRSDefinition getCRS(TypeDefinition parentType, List<QName> propertyPath)
CRSProvider
getCRS
in interface CRSProvider
parentType
- the definition of the type of the parent instancepropertyPath
- the property path in the instance
null
if it can't be determinedprotected abstract void storeValue(String key, String value)
key
- the configuration keyvalue
- the associated valueprotected abstract String loadValue(String key)
key
- the configuration key
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |