Package help.validator.model
Class IMG
- java.lang.Object
-
- help.validator.model.IMG
-
-
Constructor Summary
Constructors Constructor Description IMG(HelpModuleLocation help, java.nio.file.Path sourceFile, java.lang.String imgSrc, int lineNumber)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(IMG other)
java.nio.file.Path
getHelpPath()
java.nio.file.Path
getImageFile()
int
getLineNumber()
java.nio.file.Path
getSourceFile()
java.lang.String
getSrcAttribute()
boolean
isInvalid()
boolean
isRemote()
boolean
isRuntime()
java.lang.String
toString()
-
-
-
Constructor Detail
-
IMG
public IMG(HelpModuleLocation help, java.nio.file.Path sourceFile, java.lang.String imgSrc, int lineNumber) throws java.net.URISyntaxException
Constructor- Parameters:
help
- the help module containing the file containing this IMG referencesourceFile
- the source file containing this IMG referenceimgSrc
- the IMG SRC attribute pulled from the HTML filelineNumber
- the line number of the IMG tag- Throws:
java.net.URISyntaxException
-
-
Method Detail
-
getSourceFile
public java.nio.file.Path getSourceFile()
-
getSrcAttribute
public java.lang.String getSrcAttribute()
-
isRemote
public boolean isRemote()
-
isRuntime
public boolean isRuntime()
-
isInvalid
public boolean isInvalid()
-
getImageFile
public java.nio.file.Path getImageFile()
-
getHelpPath
public java.nio.file.Path getHelpPath()
-
getLineNumber
public int getLineNumber()
-
compareTo
public int compareTo(IMG other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<IMG>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-