Class TypeSelector
java.lang.Object
io.guise.framework.platform.web.css.TypeSelector
- All Implemented Interfaces:
SimpleSelector
,Comparable<TypeSelector>
A type simple selector. This implementation represents the universal selector by an instance of a type selector with the type "*".
- Author:
- Garret Wilson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(TypeSelector object) boolean
int
hashCode()
toString()
-
Constructor Details
-
TypeSelector
Type name constructor.- Parameters:
typeName
- The name of the type to be selected.- Throws:
NullPointerException
- if the given type name isnull
.
-
-
Method Details
-
getTypeName
- Returns:
- The type to be selected.
-
hashCode
public int hashCode() -
equals
-
toString
-
compareTo
This implementation compares type names. 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<TypeSelector>
-