Class AnchorDefinition

java.lang.Object
help.validator.model.AnchorDefinition

public class AnchorDefinition extends Object
A representation of a help location, which can be a file or a file with an anchor inside of that file.

This class is used to generate target information for TOC files and to generate link information for the help map files.


Warning: The ID generated by this class is specific to the JavaHelp system. It is of the format:

TopicName_anchorName

or

TopicName_Filename

  • Constructor Details Link icon

    • AnchorDefinition Link icon

      public AnchorDefinition(Path file, String anchorName, int lineNum)
  • Method Details Link icon

    • getAnchorName Link icon

      public String getAnchorName()
    • getSrcFile Link icon

      public Path getSrcFile()
    • getId Link icon

      public String getId()
    • getLineNumber Link icon

      public int getLineNumber()
    • getHelpPath Link icon

      public String getHelpPath()
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object