org.specrunner.source.resource.positional
Interface IResourcePositional

All Superinterfaces:
IPresentation, IResource
All Known Implementing Classes:
AbstractResourceHeader, AbstractResourcePositional, CSSResource, JSResource

public interface IResourcePositional
extends IResource

Definition of a resource. A resource is something which is part of the specification document, i.e. a CSS file, a image, etc.

Author:
Thiago Santos

Method Summary
 Position getPosition()
          The position to add the resource.
 void setPosition(Position position)
          Set the position.
 
Methods inherited from interface org.specrunner.source.resource.IResource
getParent, getResourcePath, getType, isClasspath, setClasspath, setParent, setResourcePath, setType, writeTo
 
Methods inherited from interface org.specrunner.util.xom.IPresentation
asNode, asString
 

Method Detail

getPosition

Position getPosition()
The position to add the resource.

Returns:
The resource position.

setPosition

void setPosition(Position position)
Set the position.

Parameters:
position - The resource position.


Copyright © 2014. All rights reserved.