public abstract class NamespaceDecoderKey<T> extends java.lang.Object implements DecoderKey
DecoderKey class for namespace decoder.| Constructor and Description |
|---|
NamespaceDecoderKey(java.lang.String namespace,
T type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNamespace() |
protected abstract int |
getSimilarity(DecoderKey key,
T type)
Check for similarity
|
abstract T |
getType()
Get the type.
|
protected abstract java.lang.String |
getTypeName()
Get
String representation of the type. |
int |
hashCode() |
protected abstract void |
setType(T type)
Set the type.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSimilaritypublic NamespaceDecoderKey(java.lang.String namespace,
T type)
protected abstract void setType(T type)
type - the typepublic abstract T getType()
protected abstract java.lang.String getTypeName()
String representation of the type.String representation of the type.protected abstract int getSimilarity(DecoderKey key, T type)
key - DecoderKey to checktype - Type to checkpublic java.lang.String getNamespace()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.