|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.cikmr.workflow.Statement
edu.ntnu.cikmr.workflow.FindResource
public class FindResource
Title: Find resource statement
Description: Looks up a statement and stores it in a variable.
Copyright: Copyright (c) 2007
Constructor Summary | |
---|---|
FindResource()
|
Method Summary | |
---|---|
boolean |
execute()
|
void |
fromXML(org.w3c.dom.Node n)
|
java.lang.String |
getLocation()
The location to look for the resource. |
java.lang.String |
getName()
Return the name of the variable to store the resource in. |
boolean |
getResult()
|
java.lang.String |
getType()
Returns the type of resource to look for |
boolean |
hasLocation()
|
boolean |
isLocal()
Return if the resource should be found locally |
void |
setLocal(boolean local)
Sets whether the resource should be searched for locally. |
void |
setLocation(java.lang.String location)
Sets the location to search for the resource. |
void |
setName(java.lang.String name)
Sets the name of the variable to search for. |
void |
setType(java.lang.String type)
Sets the type of resource to search for. |
java.lang.String |
toXML()
|
Methods inherited from class edu.ntnu.cikmr.workflow.Statement |
---|
getParent, resolve, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FindResource()
Method Detail |
---|
public void fromXML(org.w3c.dom.Node n)
public java.lang.String toXML()
public boolean execute()
public boolean getResult()
public boolean isLocal()
public java.lang.String getLocation()
public boolean hasLocation()
public java.lang.String getType()
public java.lang.String getName()
public void setLocal(boolean local)
local
- booleanpublic void setLocation(java.lang.String location)
location
- public void setType(java.lang.String type)
type
- public void setName(java.lang.String name)
name
- variable name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |