Package org.jacoco.cli.internal
Class XmlDocumentation
- java.lang.Object
-
- org.jacoco.cli.internal.XmlDocumentation
-
public final class XmlDocumentation extends java.lang.ObjectInternal utility to dump all command descriptions as XML.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateXmlDocumentation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String... args)Called during the build process.private static voidwriteCommand(Command command, XMLElement parent)private static voidwriteOptions(XMLElement parent, java.util.List<org.kohsuke.args4j.spi.OptionHandler> list)
-
-
-
Method Detail
-
writeCommand
private static void writeCommand(Command command, XMLElement parent) throws java.io.IOException
- Throws:
java.io.IOException
-
writeOptions
private static void writeOptions(XMLElement parent, java.util.List<org.kohsuke.args4j.spi.OptionHandler> list) throws java.io.IOException
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String... args) throws java.io.IOExceptionCalled during the build process.- Parameters:
args- exactly one argument expected with the target location- Throws:
java.io.IOException- if XML document cannot be written
-
-