public class YamlMappingConfiguration extends NamespacedYamlConfiguration implements MappingConfiguration
| Modifier and Type | Field and Description |
|---|---|
(package private) List<MappingEntry> |
entries |
DEFAULT_APPLICABILITY_PATH, DEFAULT_DYNAMIC_MAPPING, DEFAULT_INDEX, DEFAULT_INDEX_CREATION, DEFAULT_INDEXPROPERTY_TYPE, DEFAULT_NAME, DEFAULT_STORE_XML, DEFAULT_STORE_XML_FIELDNAME, DEFAULT_TYPE, DEFAULT_VERSION, DEFAULT_XPATH_VERSION| Constructor and Description |
|---|
YamlMappingConfiguration(InputStream input,
XPathHelper xpathHelper) |
YamlMappingConfiguration(String fileName,
XPathHelper xpathHelper) |
| Modifier and Type | Method and Description |
|---|---|
Collection<MappingEntry> |
getEntries() |
MappingEntry |
getEntry(String name) |
String |
getIdentifierField() |
String |
getIndex() |
String |
getIndexCreationRequest() |
String |
getLocationField() |
String |
getName() |
Map<String,Object> |
getSuggest() |
String |
getType() |
int |
getVersion() |
String |
getXPathVersion() |
boolean |
hasIndexCreationRequest() |
boolean |
hasLocationField() |
boolean |
hasSuggest() |
boolean |
isApplicable(Document doc) |
boolean |
isDynamicMappingEnabled() |
boolean |
isIndexCreationEnabled() |
String |
toString() |
parseNamespaceContextList<MappingEntry> entries
public YamlMappingConfiguration(String fileName, XPathHelper xpathHelper) throws IOException
IOExceptionpublic YamlMappingConfiguration(InputStream input, XPathHelper xpathHelper)
public Collection<MappingEntry> getEntries()
getEntries in interface MappingConfigurationpublic String getName()
getName in interface MappingConfigurationpublic int getVersion()
getVersion in interface MappingConfigurationpublic String getXPathVersion()
getXPathVersion in interface MappingConfigurationpublic String getType()
getType in interface MappingConfigurationpublic String getIndex()
getIndex in interface MappingConfigurationpublic boolean isApplicable(Document doc)
isApplicable in interface MappingConfigurationpublic boolean isIndexCreationEnabled()
isIndexCreationEnabled in interface MappingConfigurationpublic boolean isDynamicMappingEnabled()
isDynamicMappingEnabled in interface MappingConfigurationpublic boolean hasIndexCreationRequest()
hasIndexCreationRequest in interface MappingConfigurationpublic String getIndexCreationRequest()
getIndexCreationRequest in interface MappingConfigurationpublic MappingEntry getEntry(String name)
getEntry in interface MappingConfigurationpublic String getIdentifierField()
getIdentifierField in interface MappingConfigurationpublic boolean hasLocationField()
hasLocationField in interface MappingConfigurationpublic String getLocationField()
getLocationField in interface MappingConfigurationpublic boolean hasSuggest()
hasSuggest in interface MappingConfigurationpublic Map<String,Object> getSuggest()
getSuggest in interface MappingConfigurationCopyright © 2015–2017 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.