Package com.artipie.rpm.meta
Interface XmlEvent
- All Known Implementing Classes:
XmlEvent.Filelists
,XmlEvent.Files
,XmlEvent.Other
,XmlEvent.PackageAndVersion
,XmlEventPrimary
public interface XmlEvent
Xml event to write to the output stream.
- Since:
- 1.5
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Implementation ofXmlEvent
to build event forXmlPackage.FILELISTS
package.static final class
Implementation ofXmlEvent
to build event for `files` tag.static final class
Implementation ofXmlEvent
to build event forXmlPackage.OTHER
package.static final class
Implementation ofXmlEvent
to build event for `package` and `version` tags. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(XMLEventWriter writer, Package.Meta meta) ContractsXMLEvent
with provided metadata.
-
Method Details
-
add
ContractsXMLEvent
with provided metadata.- Parameters:
writer
- Event writer where to eventmeta
- Info to buildXMLEvent
with- Throws:
IOException
- On IO error
-