Пример #1
0
 /**
  * Get the link.
  *
  * @param sectionName The section name to which the link will be created.
  * @return a DocLink object for the hyper link
  */
 public DocLink getDocLink(SectionName sectionName) {
   return DocLink.fragment(sectionName.getName());
 }
Пример #2
0
 /**
  * Get the link.
  *
  * @param sectionName The section name combined with where to which the link will be created.
  * @param where The fragment combined with sectionName to which the link will be created.
  * @return a DocLink object for the hyper link
  */
 public DocLink getDocLink(SectionName sectionName, String where) {
   return DocLink.fragment(sectionName.getName() + getName(where));
 }
Пример #3
0
 /**
  * Get the link.
  *
  * @param where Position of the link in the file.
  * @return a DocLink object for the hyper link
  */
 public DocLink getDocLink(String where) {
   return DocLink.fragment(getName(where));
 }