Class DITAIDTypeRecognizer


  • @API(type=INTERNAL,
         src=PUBLIC)
    public class DITAIDTypeRecognizer
    extends IDTypeRecognizer
    Implementation of ID declarations and references recognizer for DITA framework. In this framework the IDs are declared in attributes with name 'id'. The references are recognized in href attributes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<IDTypeIdentifier> detectIDType​(java.lang.String systemID, Context context, java.lang.String attrName, java.lang.String attrNs, java.lang.String attributeValue, int offset)
      Detect the ID declaration or reference for the provided attribute context and offset.
      boolean isDefaultIDTypeRecognitionAvailable()
      If false then disable the default recognition of the IDs based on the current associated schema.
      boolean isIDTypeRecognitionAvailable()
      If true then ID type recognition is available.
      int[] locateIDType​(java.lang.String systemID, Context context, java.lang.String attrName, java.lang.String attrNs, java.lang.String attributeValue, IDTypeIdentifier idIdentifier, short mode)
      Detect if the given ID is located in the specified attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait