Class IDTypeIdentifier

  • Direct Known Subclasses:
    DefaultIDTypeIdentifier

    @API(type=EXTENDABLE,
         src=PUBLIC)
    public abstract class IDTypeIdentifier
    extends java.lang.Object
    Identifier for an ID declaration or reference.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract java.lang.String getIdentifierType()
      Gets a short description of the identifier type.
      abstract java.lang.String getValue()  
      abstract boolean isDeclaration()
      Checks if identifier corresponds to a declaration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IDTypeIdentifier

        public IDTypeIdentifier()
    • Method Detail

      • isDeclaration

        public abstract boolean isDeclaration()
        Checks if identifier corresponds to a declaration.
        Returns:
        true if identifier corresponds to a declaration.
      • getValue

        public abstract java.lang.String getValue()
        Returns:
        The ID value.
      • getIdentifierType

        public abstract java.lang.String getIdentifierType()
        Gets a short description of the identifier type. By example for the default ID type recognition returns XML ID.
        Returns:
        A short description of the identifier type.