org.wso2.carbon.rest.api.ui.util

## Class ApiEditorHelper

- java.lang.Object
- - org.wso2.carbon.rest.api.ui.util.ApiEditorHelper

-     public class ApiEditorHelper
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApiEditorHelper()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static org.wso2.carbon.rest.api.stub.types.carbon.APIData` | `convertStringToAPIData(String xml)`
    `static org.wso2.carbon.rest.api.stub.types.carbon.ResourceData` | `convertStringToResourceData(String xml)`
    `static String` | `parseStringToPrettyfiedString(String ugly)`

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

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

- - ### Constructor Detail

    - #### ApiEditorHelper

          public ApiEditorHelper()

  - ### Method Detail

    - #### parseStringToPrettyfiedString

          public static String parseStringToPrettyfiedString(String ugly)

    - #### convertStringToAPIData

          public static org.wso2.carbon.rest.api.stub.types.carbon.APIData convertStringToAPIData(String xml)
                                                                                           throws XMLStreamException

      Throws:
        `XMLStreamException`

    - #### convertStringToResourceData

          public static org.wso2.carbon.rest.api.stub.types.carbon.ResourceData convertStringToResourceData(String xml)
                                                                                                     throws XMLStreamException

      Throws:
        `XMLStreamException`

Copyright © 2021 WSO2. All rights reserved.