public class AdapterLocationMapper extends LocationMapper
DEFAULT_PATH, GlobalMapperSystemProperty1, GlobalMapperSystemProperty2| Constructor and Description |
|---|
AdapterLocationMapper(LocationMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAltEntry(String uri,
String alt) |
void |
addAltPrefix(String uriPrefix,
String altPrefix) |
String |
altMapping(String uri,
String otherwise) |
boolean |
equals(Object obj) |
String |
getAltEntry(String uri) |
String |
getAltPrefix(String uriPrefix) |
int |
hashCode() |
Iterator<String> |
listAltEntries()
Iterate over all the entries registered
|
Iterator<String> |
listAltPrefixes()
Iterate over all the prefixes registered
|
void |
removeAltEntry(String uri) |
void |
removeAltPrefix(String uriPrefix) |
void |
toModel(Model model) |
String |
toString() |
altMapping, get, makeGlobal, processConfig, setGlobalLocationMapper, toModelpublic AdapterLocationMapper(LocationMapper mapper)
public String altMapping(String uri, String otherwise)
altMapping in class LocationMapperpublic void addAltEntry(String uri, String alt)
addAltEntry in class LocationMapperpublic void addAltPrefix(String uriPrefix, String altPrefix)
addAltPrefix in class LocationMapperpublic Iterator<String> listAltEntries()
listAltEntries in class LocationMapperpublic Iterator<String> listAltPrefixes()
listAltPrefixes in class LocationMapperpublic void removeAltEntry(String uri)
removeAltEntry in class LocationMapperpublic void removeAltPrefix(String uriPrefix)
removeAltPrefix in class LocationMapperpublic String getAltEntry(String uri)
getAltEntry in class LocationMapperpublic String getAltPrefix(String uriPrefix)
getAltPrefix in class LocationMapperpublic int hashCode()
hashCode in class LocationMapperpublic boolean equals(Object obj)
equals in class LocationMapperpublic String toString()
toString in class LocationMapperpublic void toModel(Model model)
toModel in class LocationMapperLicenced under the Apache License, Version 2.0