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
Default implementation for
IDTypeIdentifier
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a short description of the identifier type.getValue()
boolean
Checks if identifier corresponds to a declaration.
-
Constructor Details
-
DefaultIDTypeIdentifier
Constructor.- Parameters:
value
- The ID value.isDeclaration
- True if identifier corresponds to an ID declaration.
-
-
Method Details
-
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:
-
getValue
- Specified by:
getValue
in classIDTypeIdentifier
- Returns:
- The ID value.
- See Also:
-
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:
-