|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDataAccessRegistry
AppSchemaDataAccessRegistry
public class AppSchemaDataAccessRegistry
A registry that stores all app schema data access instances per application. This allows mappings from different data accesses to be accessed globally.
Field Summary |
---|
Fields inherited from class DataAccessRegistry |
---|
properties, registry, theRegistry |
Constructor Summary | |
---|---|
AppSchemaDataAccessRegistry()
|
Method Summary | |
---|---|
static void |
clearAppSchemaProperties()
Clean-up properties, mainly used for cleaning up after tests |
static InterpolationProperties |
getAppSchemaProperties()
Get App-schema properties |
static FeatureTypeMapping |
getMappingByElement(Name featureTypeName)
|
static FeatureTypeMapping |
getMappingByName(Name featureTypeName)
Get a feature type mapping from a registered app-schema data access. |
static FeatureSource<FeatureType,Feature> |
getSimpleFeatureSource(Name featureTypeName)
Get a feature source for simple features with supplied feature type name. |
static boolean |
hasName(Name featureTypeName)
Return true if a type name is mapped in one of the registered app-schema data accesses. |
static boolean |
hasTargetElement(Name featureTypeName)
Return true if a type name is mapped in one of the registered app-schema data accesses as targetElementName, regardless whether or not mappingName exists. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppSchemaDataAccessRegistry()
Method Detail |
---|
public static boolean hasName(Name featureTypeName) throws IOException
featureTypeName
- Feature type name
IOException
public static FeatureTypeMapping getMappingByName(Name featureTypeName) throws IOException
featureTypeName
-
IOException
public static FeatureTypeMapping getMappingByElement(Name featureTypeName) throws IOException
IOException
public static FeatureSource<FeatureType,Feature> getSimpleFeatureSource(Name featureTypeName) throws IOException
featureTypeName
-
IOException
public static boolean hasTargetElement(Name featureTypeName) throws IOException
featureTypeName
-
IOException
public static InterpolationProperties getAppSchemaProperties()
public static void clearAppSchemaProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |