solution to read Requirement for a specific component and by the usage of the "Share Link" in View from requirement documents
One answer
DNG does not have any JAVA APIs you could use AFAIK.
Comments
I am using the Eclipse Lyo to connect and fetch the requirements eg - org.eclipse.lyo.oslc.domains.rm is the java package that I am using.
1st. Please use comments if you comment and not answers.
2nd, Eclipse Lyo is "an SDK to enable adoption of OSLC specifications. OSLC" and it is not a Java API, let alone for DOORSNG.
For the tool, it is completely transparent, what language/compiler etc. the client uses. OSLC and the Reportable REST API are HTML based APIs.
I can't provide examples for what you ask. I would suggest to look at https://github.com/IBM/ELM-Python-Client, if it supports something in that direction. It does not use Java, it is Python based, but once you know what and how, you can likely use it with Lyo as well.