org.wildfly.swarm.container.util

## Class XmlWriter

- java.lang.Object
- - org.wildfly.swarm.container.util.XmlWriter

- All Implemented Interfaces:
    AutoCloseable

      public class XmlWriter
      extends Object
      implements AutoCloseable

  Author:
    Bob McWhirter

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `XmlWriter.Element`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `XmlWriter(Writer out)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `XmlWriter.Element` | `element(String name)`

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

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

- - ### Constructor Detail

    - #### XmlWriter

          public XmlWriter(Writer out)

  - ### Method Detail

    - #### element

          public XmlWriter.Element element(String name)
                                    throws IOException

      Throws:
        `IOException`

    - #### close

          public void close()
                     throws IOException

      Specified by:
        `close` in interface `AutoCloseable`
      Throws:
        `IOException`

Copyright © 2017 JBoss by Red Hat. All rights reserved.