public abstract class XppStreamConsumer extends Thread implements StreamConsumer
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
XppStreamConsumer(ScmLogger logger) |
Modifier and Type | Method and Description |
---|---|
protected void |
caughtParseException(Exception e) |
void |
consumeLine(String line) |
protected void |
endTag(List<String> tagPath) |
ScmLogger |
getLogger() |
protected static String |
getTagName(List<String> tagPath) |
protected void |
parse(XmlPullParser p) |
void |
run() |
protected void |
startTag(List<String> tagPath,
Map<String,String> attributes) |
protected void |
text(List<String> tagPath,
String text) |
void |
waitComplete()
close the input and wait for parsing to complete
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public XppStreamConsumer(ScmLogger logger)
public final void consumeLine(String line)
consumeLine
in interface StreamConsumer
protected void caughtParseException(Exception e)
protected void parse(XmlPullParser p) throws XmlPullParserException, IOException
XmlPullParserException
IOException
public void waitComplete()
protected static String getTagName(List<String> tagPath)
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.