Class IMG

java.lang.Object
help.validator.model.IMG
All Implemented Interfaces:
Comparable<IMG>

public class IMG extends Object implements Comparable<IMG>
  • Constructor Details

    • IMG

      public IMG(HelpModuleLocation help, Path sourceFile, String imgSrc, int lineNumber) throws URISyntaxException
      Constructor
      Parameters:
      help - the help module containing the file containing this IMG reference
      sourceFile - the source file containing this IMG reference
      imgSrc - the IMG SRC attribute pulled from the HTML file
      lineNumber - the line number of the IMG tag
      Throws:
      URISyntaxException - if there is an exception resolving the image URI
  • Method Details

    • getSourceFile

      public Path getSourceFile()
    • getSrcAttribute

      public String getSrcAttribute()
    • isRemote

      public boolean isRemote()
    • isRuntime

      public boolean isRuntime()
    • isInvalid

      public boolean isInvalid()
    • getImageFile

      public Path getImageFile()
    • getHelpPath

      public Path getHelpPath()
    • getLineNumber

      public int getLineNumber()
    • compareTo

      public int compareTo(IMG other)
      Specified by:
      compareTo in interface Comparable<IMG>
    • toString

      public String toString()
      Overrides:
      toString in class Object