Class IDSelector
java.lang.Object
io.guise.framework.platform.web.css.IDSelector
- All Implemented Interfaces:
SimpleSelector
,Comparable<IDSelector>
An ID simple selector.
- Author:
- Garret Wilson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IDSelector
ID constructor.- Parameters:
id
- The ID to be selected.- Throws:
NullPointerException
- if the given ID isnull
.
-
-
Method Details
-
getID
- Returns:
- The ID to be selected.
-
hashCode
public int hashCode() -
equals
-
toString
-
compareTo
This implementation compares IDs. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
- Specified by:
compareTo
in interfaceComparable<IDSelector>
-