com.ihr.xbrl.util

## Class XmlFormater

- java.lang.Object
- - com.ihr.xbrl.util.XmlFormater

-     public class XmlFormater
      extends java.lang.Object

  The Class XmlFormater.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `XmlFormater()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | `format(java.lang.Object item)` Format.
    `static byte[]` | `format(java.lang.Object item, java.util.Properties props)` Format.
    `static java.util.Properties` | `getDefauleProperties()` Gets the defaule properties.

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

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

- - ### Constructor Detail

    - #### XmlFormater

          public XmlFormater()

  - ### Method Detail

    - #### getDefauleProperties

          public static java.util.Properties getDefauleProperties()

      Gets the defaule properties.
      Returns:
        the defaule properties

    - #### format

          public static byte[] format(java.lang.Object item)
                               throws java.io.IOException

      Format.
      Parameters:
        `item` - the item
      Returns:
        the byte[]
      Throws:
        `java.io.IOException` - Signals that an I/O exception has occurred.

    - #### format

          public static byte[] format(java.lang.Object item,
                      java.util.Properties props)
                               throws java.io.IOException

      Format.
      Parameters:
        `item` - the item
        `props` - the props
      Returns:
        the byte[]
      Throws:
        `java.io.IOException` - Signals that an I/O exception has occurred.