public abstract class StylesheetReference extends Artifact<StylesheetReference>
Modifier | Constructor and Description |
---|---|
protected |
StylesheetReference(Class<? extends Linker> linkerType,
String src,
int index) |
Modifier and Type | Method and Description |
---|---|
protected int |
compareToComparableArtifact(StylesheetReference o)
Performs comparison with an artifact of a compatible base type.
|
protected Class<StylesheetReference> |
getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts.
|
String |
getSrc()
The
src attribute of the resource. |
int |
hashCode()
The class which is returned from
Artifact.getComparableArtifactType() must
declare a final implementation which returns the same hash code for objects
for which Artifact.compareToComparableArtifact(Artifact) returns 0. |
String |
toString() |
compareTo, equals, getLinker, isTransferableFromShards
$isInstance
public final String getSrc()
src
attribute of the resource. This string is returned
raw and may be a partial path or a URL.public final int hashCode()
Artifact
Artifact.getComparableArtifactType()
must
declare a final implementation which returns the same hash code for objects
for which Artifact.compareToComparableArtifact(Artifact)
returns 0.hashCode
in class Artifact<StylesheetReference>
public String toString()
toString
in class Artifact<StylesheetReference>
protected final int compareToComparableArtifact(StylesheetReference o)
Artifact
Artifact.hashCode()
.compareToComparableArtifact
in class Artifact<StylesheetReference>
protected Class<StylesheetReference> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<StylesheetReference>
Copyright © 2018. All rights reserved.