public final class ParseShowWorkspaces extends Object implements AccurevLauncher.ICmdOutputXmlParser<Map<String,AccurevWorkspace>,Void>
Constructor and Description |
---|
ParseShowWorkspaces() |
Modifier and Type | Method and Description |
---|---|
Map<String,AccurevWorkspace> |
parse(org.xmlpull.v1.XmlPullParser parser,
Void context)
Parses the command's output.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parseAll
public Map<String,AccurevWorkspace> parse(org.xmlpull.v1.XmlPullParser parser, Void context) throws AccurevLauncher.UnhandledAccurevCommandOutput, IOException, org.xmlpull.v1.XmlPullParserException
AccurevLauncher.ICmdOutputXmlParser
parse
in interface AccurevLauncher.ICmdOutputXmlParser<Map<String,AccurevWorkspace>,Void>
parser
- The XmlPullParser
that contains the output of the command.context
- Context passed in when the command was run.AccurevLauncher.UnhandledAccurevCommandOutput
- if the command output was invalid.IOException
- on failing IOorg.xmlpull.v1.XmlPullParserException
- if failed to ParseCopyright © 2016–2021. All rights reserved.