Package ro.sync.ecss.extensions.api.link
Class DefaultIDTypeIdentifier
- java.lang.Object
-
- ro.sync.ecss.extensions.api.link.IDTypeIdentifier
-
- ro.sync.ecss.extensions.api.link.DefaultIDTypeIdentifier
-
@API(type=EXTENDABLE, src=PUBLIC) public class DefaultIDTypeIdentifier extends IDTypeIdentifier
Default implementation forIDTypeIdentifier
.
-
-
Constructor Summary
Constructors Constructor Description DefaultIDTypeIdentifier(java.lang.String value, boolean isDeclaration)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIdentifierType()
Gets a short description of the identifier type.java.lang.String
getValue()
boolean
isDeclaration()
Checks if identifier corresponds to a declaration.
-
-
-
Method Detail
-
isDeclaration
public boolean isDeclaration()
Description copied from class:IDTypeIdentifier
Checks if identifier corresponds to a declaration.- Specified by:
isDeclaration
in classIDTypeIdentifier
- Returns:
- true if identifier corresponds to a declaration.
- See Also:
IDTypeIdentifier.isDeclaration()
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in classIDTypeIdentifier
- Returns:
- The ID value.
- See Also:
IDTypeIdentifier.getValue()
-
getIdentifierType
public java.lang.String getIdentifierType()
Description copied from class:IDTypeIdentifier
Gets a short description of the identifier type. By example for the default ID type recognition returns XML ID.- Specified by:
getIdentifierType
in classIDTypeIdentifier
- Returns:
- A short description of the identifier type.
- See Also:
IDTypeIdentifier.getIdentifierType()
-
-