public abstract class StylesheetReference extends Artifact<StylesheetReference>
| Modifier | Constructor and Description |
|---|---|
protected |
StylesheetReference(java.lang.Class<? extends Linker> linkerType,
java.lang.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 java.lang.Class<StylesheetReference> |
getComparableArtifactType()
Returns the base type to use for comparisons between Artifacts.
|
java.lang.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. |
java.lang.String |
toString() |
compareTo, equals, getLinker, isTransferableFromShardsprotected StylesheetReference(java.lang.Class<? extends Linker> linkerType, java.lang.String src, int index)
public final java.lang.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()
ArtifactArtifact.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 java.lang.String toString()
toString in class Artifact<StylesheetReference>protected final int compareToComparableArtifact(StylesheetReference o)
ArtifactArtifact.hashCode().compareToComparableArtifact in class Artifact<StylesheetReference>protected java.lang.Class<StylesheetReference> getComparableArtifactType()
ArtifactgetComparableArtifactType in class Artifact<StylesheetReference>