|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--com.devsphere.xml.taglib.process.parse.Worker
This thread class does the parsing of the XML documents.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
Worker(org.xml.sax.InputSource source,
Handler handler,
boolean validating,
AbstractLogger logger,
javax.servlet.jsp.PageContext context)
Initializes the parsing thread. |
|
| Method Summary | |
java.lang.Exception |
getException()
Returns the exception that interrupted the parsing or null |
void |
run()
Creates the builder object and calls its parse() method. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Worker(org.xml.sax.InputSource source,
Handler handler,
boolean validating,
AbstractLogger logger,
javax.servlet.jsp.PageContext context)
source - the XML input source that must be parsedhandler - SAX event handler that is also SAXDOMIX controllervalidating - a flag indicating if the XML content should be
validated by the XML parserlogger - used for logging error messages and exceptionscontext - the JSP PageContext object| Method Detail |
public void run()
parse() method.
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.lang.Exception getException()
null
if the parsing was completed successfully.
- Returns:
- a parsing error or
null
|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||