Is there a way to import the OOTB LinkHandler implementation?
I have a requirement to build Link Objects (Type: com.adobe.cq.wcm.core.components.commons.link.Link) for multiple custom components that we are developing. I see that the LinkHandler (Type: com.adobe.cq.wcm.core.components.internal.link.LinkHandler) does this job. But, this class belongs to the internal package and hence I cannot import it into any of my custom implementations. As this is not associated with any core component, I'm not sure if there is a way to get a reference of LinkHandler using the Sling delegation pattern approach.
Is there any way we could create a reference of this class? Or do we need to do the implementation ground up again?