public static final class XmlPrimary.Format extends Object
| Modifier and Type | Method and Description |
|---|---|
XmlPrimary.Format |
buildHost(String host)
Add build host.
|
XmlPrimary.Package |
close()
Close format section.
|
XmlPrimary.Format |
group(String group)
Add group.
|
XmlPrimary.Format |
headerRange(int start,
int end)
Add header range.
|
XmlPrimary.Format |
license(String license)
Add license.
|
XmlPrimary.Format |
providers(Iterable<String> providers)
Add list of providers.
|
XmlPrimary.Format |
requires(List<String> requires)
Add list of requires.
|
XmlPrimary.Format |
sourceRpm(String source)
Add source RPM.
|
XmlPrimary.Format |
vendor(String vendor)
Add vendor.
|
public XmlPrimary.Format license(String license) throws XMLStreamException
license - License nameXMLStreamException - On XML failurepublic XmlPrimary.Format vendor(String vendor) throws XMLStreamException
vendor - Vendor nameXMLStreamException - On failurepublic XmlPrimary.Format group(String group) throws XMLStreamException
group - Group nameXMLStreamException - On XML failurepublic XmlPrimary.Format buildHost(String host) throws XMLStreamException
host - Host nameXMLStreamException - On XML failurepublic XmlPrimary.Format sourceRpm(String source) throws XMLStreamException
source - Source RPM nameXMLStreamException - On XML failurepublic XmlPrimary.Format headerRange(int start, int end) throws XMLStreamException
start - Range startend - Range endXMLStreamException - On XML failurepublic XmlPrimary.Format providers(Iterable<String> providers) throws XMLStreamException
providers - Provider namesXMLStreamException - On XML errorpublic XmlPrimary.Format requires(List<String> requires) throws XMLStreamException
requires - Requires entriesXMLStreamException - On XML errorpublic XmlPrimary.Package close() throws XMLStreamException
XMLStreamException - On XML errorCopyright © 2019–2020 jcabi.com. All rights reserved.