Interface UniqueAttributesProcessor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void assignUniqueIDs​(int startOffset, int endOffset, boolean forceGeneration)
      Assigns unique IDs between a start and an end offset in the document.
      boolean copyAttributeOnSplit​(java.lang.String attrQName, AuthorElement element)
      Checks if the attribute specified by QName can be considered as a valid attribute to copy when the element is split.
    • Method Detail

      • copyAttributeOnSplit

        boolean copyAttributeOnSplit​(java.lang.String attrQName,
                                     AuthorElement element)
        Checks if the attribute specified by QName can be considered as a valid attribute to copy when the element is split.
        Parameters:
        attrQName - The attribute qualified name.
        element - The element.
        Returns:
        true if the attribute should be copied when Split is performed.
      • assignUniqueIDs

        void assignUniqueIDs​(int startOffset,
                             int endOffset,
                             boolean forceGeneration)
        Assigns unique IDs between a start and an end offset in the document.
        Parameters:
        startOffset - Start offset.
        endOffset - End offset.
        forceGeneration - true to generate ID even if the ID generation pattern list does not match.