ApiMerger

class ApiMerger

Merges one or more API definitions into a single, merged API definition.

Each API definition is an XML document in the following form:

<api version="1">
<widget tag="1" since="1">
<trait tag="1" since="1"/>
<trait tag="3" since="1"/>
</widget>
<layout-modifier tag="1" since="1">
<property tag="1" since="1"/>
<property tag="3" since="1"/>
</layout-modifier>
</api>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun add(xml: String): ApiMerger

Parse xml and add its API definition for merging.

Link copied to clipboard
fun merge(): String

Merge added API definitions into a single API definition XML.

Link copied to clipboard
operator fun plusAssign(xml: String)