Package org.n52.svalbard.decode
Class XmlNamespaceOperationDecoderKey
java.lang.Object
org.n52.svalbard.decode.NamespaceDecoderKey<String>
org.n52.svalbard.decode.XmlNamespaceOperationDecoderKey
- All Implemented Interfaces:
Similar<DecoderKey>,DecoderKey
NamespaceDecoderKey implementation for XML namespace and operation name String.- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetSimilarity(DecoderKey key) protected intgetSimilarity(DecoderKey key, String operation) Check for similaritygetType()Get the type.protected StringGetStringrepresentation of the type.protected voidSet the type.Methods inherited from class org.n52.svalbard.decode.NamespaceDecoderKey
equals, getNamespace, hashCode, toString
-
Constructor Details
-
XmlNamespaceOperationDecoderKey
-
-
Method Details
-
setType
Description copied from class:NamespaceDecoderKeySet the type.- Specified by:
setTypein classNamespaceDecoderKey<String>- Parameters:
type- the type
-
getType
Description copied from class:NamespaceDecoderKeyGet the type.- Specified by:
getTypein classNamespaceDecoderKey<String>- Returns:
- the type
-
getTypeName
Description copied from class:NamespaceDecoderKeyGetStringrepresentation of the type.- Specified by:
getTypeNamein classNamespaceDecoderKey<String>- Returns:
Stringrepresentation of the type.
-
getSimilarity
-
getSimilarity
Description copied from class:NamespaceDecoderKeyCheck for similarity- Specified by:
getSimilarityin classNamespaceDecoderKey<String>- Parameters:
key-DecoderKeyto checkoperation- Type to check- Returns:
- 0 for equality, -1 for non equality
-