|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.core.ext.linker.Artifact<ScriptReference> com.google.gwt.core.ext.linker.ScriptReference
public abstract class ScriptReference
An external script file referenced in the module manifest. The index is important because output order must match module declaration order.
Constructor Summary | |
---|---|
protected |
ScriptReference(java.lang.Class<? extends Linker> linkerType,
java.lang.String src,
int index)
|
Method Summary | |
---|---|
protected int |
compareToComparableArtifact(ScriptReference o)
Performs comparison with an artifact of a compatible base type. |
protected java.lang.Class<ScriptReference> |
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()
|
Methods inherited from class com.google.gwt.core.ext.linker.Artifact |
---|
compareTo, equals, getLinker, isTransferableFromShards |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ScriptReference(java.lang.Class<? extends Linker> linkerType, java.lang.String src, int index)
Method Detail |
---|
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()
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<ScriptReference>
public java.lang.String toString()
toString
in class Artifact<ScriptReference>
protected final int compareToComparableArtifact(ScriptReference o)
Artifact
Artifact.hashCode()
.
compareToComparableArtifact
in class Artifact<ScriptReference>
protected final java.lang.Class<ScriptReference> getComparableArtifactType()
Artifact
getComparableArtifactType
in class Artifact<ScriptReference>
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |