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, toModel
public AdapterLocationMapper(LocationMapper mapper)
public String altMapping(String uri, String otherwise)
altMapping
in class LocationMapper
public void addAltEntry(String uri, String alt)
addAltEntry
in class LocationMapper
public void addAltPrefix(String uriPrefix, String altPrefix)
addAltPrefix
in class LocationMapper
public Iterator<String> listAltEntries()
listAltEntries
in class LocationMapper
public Iterator<String> listAltPrefixes()
listAltPrefixes
in class LocationMapper
public void removeAltEntry(String uri)
removeAltEntry
in class LocationMapper
public void removeAltPrefix(String uriPrefix)
removeAltPrefix
in class LocationMapper
public String getAltEntry(String uri)
getAltEntry
in class LocationMapper
public String getAltPrefix(String uriPrefix)
getAltPrefix
in class LocationMapper
public int hashCode()
hashCode
in class LocationMapper
public boolean equals(Object obj)
equals
in class LocationMapper
public String toString()
toString
in class LocationMapper
public void toModel(Model model)
toModel
in class LocationMapper
Licenced under the Apache License, Version 2.0