com.versionone.apiclient

## Class XmlApiWriter

- java.lang.Object
- - com.versionone.apiclient.XmlApiWriter

-     public class XmlApiWriter
      extends Object

  Class responsible creating XML from an asset. The XML is used in the POST command when creating or updating an asset.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XmlApiWriter(boolean changesOnly)` Construction

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `write(Asset asset, Writer destination)` Write the asset to the specified destination

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XmlApiWriter

          public XmlApiWriter(boolean changesOnly)

      Construction
      Parameters:
        `changesOnly` - - Only write attributes that have changed

  - ### Method Detail

    - #### write

          public void write(Asset asset,
                            Writer destination)
                     throws APIException

      Write the asset to the specified destination
      Parameters:
        `asset` - - asset to process
        `destination` - - writer to hold xml
      Throws:
        `APIException` - -

Copyright © 2016 VersionOne, Inc.. All rights reserved.