Package com.google.gwt.core.ext.linker
Class StylesheetReference
java.lang.Object
com.google.gwt.core.ext.linker.Artifact<StylesheetReference>
com.google.gwt.core.ext.linker.StylesheetReference
- All Implemented Interfaces:
Serializable
,Comparable<Artifact<?>>
An external stylesheet referenced in the module manifest. The index is
important because output order must match module declaration order.
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
StylesheetReference
(Class<? extends Linker> linkerType, String src, int index) -
Method Summary
Modifier and TypeMethodDescriptionprotected final int
Performs comparison with an artifact of a compatible base type.protected Class
<StylesheetReference> Returns the base type to use for comparisons between Artifacts.final String
getSrc()
Thesrc
attribute of the resource.final int
hashCode()
The class which is returned fromArtifact.getComparableArtifactType()
must declare a final implementation which returns the same hash code for objects for whichArtifact.compareToComparableArtifact(Artifact)
returns 0.toString()
Methods inherited from class com.google.gwt.core.ext.linker.Artifact
compareTo, equals, getLinker, isTransferableFromShards
-
Constructor Details
-
StylesheetReference
-
-
Method Details
-
getSrc
Thesrc
attribute of the resource. This string is returned raw and may be a partial path or a URL. -
hashCode
public final int hashCode()Description copied from class:Artifact
The class which is returned fromArtifact.getComparableArtifactType()
must declare a final implementation which returns the same hash code for objects for whichArtifact.compareToComparableArtifact(Artifact)
returns 0.- Specified by:
hashCode
in classArtifact<StylesheetReference>
-
toString
- Overrides:
toString
in classArtifact<StylesheetReference>
-
compareToComparableArtifact
Description copied from class:Artifact
Performs comparison with an artifact of a compatible base type. Objects which compare to 0 are assumed equal, and must return the sameArtifact.hashCode()
.- Specified by:
compareToComparableArtifact
in classArtifact<StylesheetReference>
-
getComparableArtifactType
Description copied from class:Artifact
Returns the base type to use for comparisons between Artifacts. All concrete implementations of this methods must be final.- Specified by:
getComparableArtifactType
in classArtifact<StylesheetReference>
-