|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gtts.sautrela.engine.Engine
public class Engine
| Field Summary | |
|---|---|
static boolean |
DEFAULT_BUFFER_BLOCKING
The default buffer-blocking policy == true |
static int |
DEFAULT_BUFFER_SIZE
The default buffer size == 10 |
| Constructor Summary | |
|---|---|
Engine()
|
|
Engine(boolean trace)
Creates an empty Engine. |
|
Engine(org.xml.sax.InputSource is)
|
|
Engine(org.xml.sax.InputSource is,
java.util.Map<java.lang.String,java.lang.String> options)
|
|
Engine(org.xml.sax.InputSource is,
java.util.Map<java.lang.String,java.lang.String> options,
boolean help,
boolean trace)
|
|
| Method Summary | |
|---|---|
void |
add(DataProcessor dp,
Buffer out)
|
Buffer |
getBuffer(int i)
Returns a Buffer of this Engine. |
DataProcessor |
getDataProcessor(int i)
Returns a Dataprocessor of this Engine. |
java.lang.String |
getName()
Returns the name of this Engine. |
void |
join()
Waits for all threads to die. |
void |
setName(java.lang.String name)
Sets the name of this Engine. |
void |
start()
Starts the engine. |
java.lang.String |
toXML()
Returns a XML representation of the Engine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int DEFAULT_BUFFER_SIZE
10
public static boolean DEFAULT_BUFFER_BLOCKING
true
| Constructor Detail |
|---|
public Engine()
public Engine(boolean trace)
public Engine(org.xml.sax.InputSource is)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public Engine(org.xml.sax.InputSource is,
java.util.Map<java.lang.String,java.lang.String> options)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
public Engine(org.xml.sax.InputSource is,
java.util.Map<java.lang.String,java.lang.String> options,
boolean help,
boolean trace)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name of the engine
public void add(DataProcessor dp,
Buffer out)
public void start()
public void join()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic DataProcessor getDataProcessor(int i)
public Buffer getBuffer(int i)
public java.lang.String toXML()
|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||