Package help.validator.links
Class InvalidHREFLink
- java.lang.Object
-
- help.validator.links.InvalidHREFLink
-
- All Implemented Interfaces:
InvalidLink
,java.lang.Comparable<InvalidLink>
- Direct Known Subclasses:
MissingAnchorInvalidLink
,MissingFileInvalidLink
public abstract class InvalidHREFLink extends java.lang.Object implements InvalidLink
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(InvalidLink other)
boolean
equals(java.lang.Object obj)
HREF
getHREF()
int
getLineNumber()
java.nio.file.Path
getSourceFile()
int
hashCode()
int
identityHashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
href
protected final HREF href
-
message
protected final java.lang.String message
-
-
Method Detail
-
getHREF
public HREF getHREF()
-
identityHashCode
public int identityHashCode()
- Specified by:
identityHashCode
in interfaceInvalidLink
-
getSourceFile
public java.nio.file.Path getSourceFile()
- Specified by:
getSourceFile
in interfaceInvalidLink
-
getLineNumber
public int getLineNumber()
- Specified by:
getLineNumber
in interfaceInvalidLink
-
compareTo
public int compareTo(InvalidLink other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<InvalidLink>
- Specified by:
compareTo
in interfaceInvalidLink
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfaceInvalidLink
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceInvalidLink
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfaceInvalidLink
- Overrides:
equals
in classjava.lang.Object
-
-