@Override public String getPropertiesReportUrl() { return propertiesContext.getPropertiesReportUrl(); }
/** * Writes the configuration to the given stream. * * @param context the context to write. * @param out the stream to write to. * @throws IOException on any problem writing to the stream. */ public void write(final PropertiesContext context, final OutputStream out) throws IOException { final Element root = new Element("config"); final Document document = new Document(root); root.addContent(new Element("homepage-url").addContent(context .getHomePageUrl())); root.addContent(new Element("properties-report-url").addContent(context .getPropertiesReportUrl())); handleAliases(context, root); final XMLOutputter outputter = new XMLOutputter(); outputter.output(document, out); }