org.oXML.type
Class ThreadNode
java.lang.Object
org.oXML.type.AbstractNode
org.oXML.type.ThreadNode
- All Implemented Interfaces:
- Node, java.lang.Runnable
- public class ThreadNode
- extends AbstractNode
- implements java.lang.Runnable
ObjectBox - o:XML compiler and interpreter
for more information see http://www.o-xml.org/objectbox
Copyright (C) 2002/2003 Martin Klang, Alpha Plus Technology Ltd
email: martin at hack.org
This class has been generated from an o:XML template
| Methods inherited from class org.oXML.type.AbstractNode |
addChildNode, booleanValue, byteValue, cast, cast, equals, equals, getAttribute, getAttributes, getAttributeValue, getChildNodes, getDocument, getInstance, getName, getNextSibling, getParent, getPreviousSibling, getType, hashCode, hasInstance, insert, numberValue, removeChild, setAttribute, setAttribute, setInstance, setName, setParent, stringValue, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TYPE
public static final Type TYPE
ThreadNode
public ThreadNode(AbstractNode me,
Type type)
ThreadNode
public ThreadNode(Function run)
ThreadNode
public ThreadNode(ThreadNode other,
boolean deep)
- generated constructor, called directly
ThreadNode
public ThreadNode()
- generated constructor, called directly
run
public void run()
- Specified by:
run in interface java.lang.Runnable
setPriority
public void setPriority(int order)
setDaemon
public void setDaemon(boolean isDaemon)
init
public void init(ThreadNode other,
boolean deep)
init
public void init()
- Overrides:
init in class AbstractNode
start
public Node start()
throws ObjectBoxException
- Throws:
ObjectBoxException
sleep
public Node sleep(Node millis)
throws ObjectBoxException
- Throws:
ObjectBoxException
priority
public Node priority(Node order)
priority
public Node priority()
daemon
public Node daemon(Node on)
daemon
public Node daemon()
yield
public Node yield()
doWait
public Node doWait()
throws ObjectBoxException
- Throws:
ObjectBoxException
doRun
public Node doRun()
waitAndReturn
public Node waitAndReturn()
throws ObjectBoxException
- Throws:
ObjectBoxException
copy
public Node copy(boolean deep)
- Specified by:
copy in interface Node