| Package | Description |
|---|---|
| org.specrunner.source.resource | |
| org.specrunner.source.resource.core | |
| org.specrunner.source.resource.element.core | |
| org.specrunner.source.resource.positional.core |
| Modifier and Type | Method and Description |
|---|---|
EType |
IResource.getType()
The resource type.
|
static EType |
EType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EType[] |
EType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
IResource |
IResourceManager.addCss(String path,
boolean classpath,
EType ref)
Adds a CSS to the head end.
|
IResource |
IResourceManager.addCss(String path,
boolean classpath,
EType ref,
Position position)
Adds a CSS specified by path to a given position.
|
IResource |
IResourceManager.addJs(String path,
boolean classpath,
EType ref)
Adds a JS specified by path to a given position.
|
IResource |
IResourceManager.addJs(String path,
boolean classpath,
EType ref,
Position position)
Adds a JS specified by path to a given position.
|
void |
IResource.setType(EType type)
Resource type.
|
| Modifier and Type | Method and Description |
|---|---|
EType |
AbstractResource.getType() |
| Modifier and Type | Method and Description |
|---|---|
IResource |
ResourceManagerImpl.addCss(String path,
boolean classpath,
EType ref) |
IResource |
ResourceManagerImpl.addCss(String path,
boolean classpath,
EType ref,
Position position) |
IResource |
ResourceManagerImpl.addJs(String path,
boolean classpath,
EType ref) |
IResource |
ResourceManagerImpl.addJs(String path,
boolean classpath,
EType ref,
Position position) |
void |
AbstractResource.setType(EType type) |
| Constructor and Description |
|---|
AbstractResource(ISource parent,
String resourcePath,
boolean classpath,
EType type)
Partial constructor.
|
| Constructor and Description |
|---|
AbstractResourceElement(ISource parent,
String path,
boolean classpath,
EType type,
nu.xom.Element element)
Creates a element resource.
|
AbstractResourceElementAtt(ISource parent,
String path,
boolean classpath,
EType type,
nu.xom.Element element,
String reference,
String prefix)
Creates a resource.
|
ImageResource(ISource parent,
String path,
boolean classpath,
EType type,
nu.xom.Element element)
Creates an image resource.
|
JavaScriptResource(ISource parent,
String path,
boolean classpath,
EType type,
nu.xom.Element element)
Creates a JavaScript resource.
|
StylesheetResource(ISource parent,
String path,
boolean classpath,
EType type,
nu.xom.Element element)
Creates a stylesheet resource.
|
| Constructor and Description |
|---|
AbstractResourceHeader(ISource parent,
String path,
boolean classpath,
EType type,
Position position)
Creates a header resource.
|
AbstractResourcePositional(ISource parent,
String path,
boolean classpath,
EType type,
Position position)
Creates a positional resource.
|
CSSResource(ISource parent,
String path,
boolean classpath,
EType type,
Position position)
Creates CSS resource.
|
JSResource(ISource parent,
String path,
boolean classpath,
EType type,
Position position)
Creates a JavaScript resource.
|
Copyright © 2016. All rights reserved.