Package org.jacoco.cli.internal
Class XmlDocumentation
java.lang.Object
org.jacoco.cli.internal.XmlDocumentation
Internal utility to dump all command descriptions as XML.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Called during the build process.private static void
writeCommand
(Command command, XMLElement parent) private static void
writeOptions
(XMLElement parent, List<org.kohsuke.args4j.spi.OptionHandler> list)
-
Constructor Details
-
XmlDocumentation
private XmlDocumentation()
-
-
Method Details
-
writeCommand
- Throws:
IOException
-
writeOptions
private static void writeOptions(XMLElement parent, List<org.kohsuke.args4j.spi.OptionHandler> list) throws IOException - Throws:
IOException
-
main
Called during the build process.- Parameters:
args
- exactly one argument expected with the target location- Throws:
IOException
- if XML document cannot be written
-