public class JSResource extends AbstractResourceHeader
| Constructor and Description |
|---|
JSResource(ISource parent,
String path,
boolean classpath,
EType type,
Position position)
Creates a JavaScript resource.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
asNode, asString, equals, hashCode, toString, writeTogetPosition, setPositionaddNode, filterExisting, getNodes, getParent, getResourcePath, getResourceURLs, getType, isClasspath, setClasspath, setParent, setResourcePath, setTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddNode, getNodes, getParent, getResourcePath, getType, isClasspath, setClasspath, setParent, setResourcePath, setTypeprotected nu.xom.Element getHeaderTag()
AbstractResourceHeadergetHeaderTag in class AbstractResourceHeaderprotected nu.xom.Element getHeaderTag(ISource output, String name)
AbstractResourceHeadergetHeaderTag in class AbstractResourceHeaderoutput - The output source.name - The output name.protected File getFile(ISource output, String name)
AbstractResourceHeadergetFile in class AbstractResourceHeaderoutput - The output source.name - The name.Copyright © 2016. All rights reserved.