|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.source.resource.core.AbstractResource
org.specrunner.source.resource.positional.core.AbstractResourcePositional
org.specrunner.source.resource.positional.core.AbstractResourceHeader
org.specrunner.source.resource.positional.core.JSResource
public class JSResource
A JavaScript resource.
| Constructor Summary | |
|---|---|
JSResource(ISource parent,
String path,
boolean classpath,
EType type,
Position position)
Creates a JavaScript resource. |
|
| Method Summary | |
|---|---|
protected File |
getFile(ISource output,
String name)
Get the file which represents the output resource. |
protected nu.xom.Element |
getHeaderTag()
Get the element which represents the resource. |
protected nu.xom.Element |
getHeaderTag(ISource output,
String name)
Ges the element which represents the source provided extra information. |
protected String |
localName(ISource output,
String name)
Gets the local disk file name. |
| Methods inherited from class org.specrunner.source.resource.positional.core.AbstractResourceHeader |
|---|
asNode, asString, equals, hashCode, toString, writeTo |
| Methods inherited from class org.specrunner.source.resource.positional.core.AbstractResourcePositional |
|---|
getPosition, setPosition |
| Methods inherited from class org.specrunner.source.resource.core.AbstractResource |
|---|
filterExisting, getParent, getResourcePath, getResourceURLs, getType, isClasspath, setClasspath, setParent, setResourcePath, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.specrunner.source.resource.IResource |
|---|
getParent, getResourcePath, getType, isClasspath, setClasspath, setParent, setResourcePath, setType |
| Constructor Detail |
|---|
public JSResource(ISource parent,
String path,
boolean classpath,
EType type,
Position position)
parent - The source parent.path - The resource path.classpath - The classpath flag.type - The resource nature.position - The resource position.| Method Detail |
|---|
protected nu.xom.Element getHeaderTag()
AbstractResourceHeader
getHeaderTag in class AbstractResourceHeader
protected nu.xom.Element getHeaderTag(ISource output,
String name)
AbstractResourceHeader
getHeaderTag in class AbstractResourceHeaderoutput - The output source.name - The output name.
protected File getFile(ISource output,
String name)
AbstractResourceHeader
getFile in class AbstractResourceHeaderoutput - The output source.name - The name.
protected String localName(ISource output,
String name)
output - The output source.name - The name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||