org.specrunner.source.resource.element
Interface IResourceElement

All Superinterfaces:
IPresentation, IResource
All Known Implementing Classes:
AbstractResourceElement, AbstractResourceElementAtt, ImageResource, JavaScriptResource, StylesheetResource

public interface IResourceElement
extends IResource

A resource related to a given element. i.e. a image already part of the specification.

Author:
Thiago Santos

Method Summary
 nu.xom.Element getElement()
          The element related to the resource.
 void setElement(nu.xom.Element element)
          Set the resource element.
 
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

getElement

nu.xom.Element getElement()
The element related to the resource.

Returns:
The resource element.

setElement

void setElement(nu.xom.Element element)
Set the resource element.

Parameters:
element - The new element.


Copyright © 2014. All rights reserved.