org.wso2.extension.siddhi.execution.map

## Class ToXMLFunctionExtension

- java.lang.Object
- - org.wso2.siddhi.core.executor.function.FunctionExecutor
  - - org.wso2.extension.siddhi.execution.map.ToXMLFunctionExtension

- All Implemented Interfaces:
    org.wso2.siddhi.core.executor.ExpressionExecutor, org.wso2.siddhi.core.util.extension.holder.EternalReferencedHolder, org.wso2.siddhi.core.util.snapshot.Snapshotable

      public class ToXMLFunctionExtension
      extends org.wso2.siddhi.core.executor.function.FunctionExecutor

  toXML(Map) or toXML(Map, RootElementName) Returns the string representation of the map in XML format Accept Type(s): (Map) or (Map, String) Return Type(s): String

- - ### Field Summary

    - ### Fields inherited from class org.wso2.siddhi.core.executor.function.FunctionExecutor

      `attributeExpressionExecutors, elementId, functionId, queryName, siddhiAppContext`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ToXMLFunctionExtension()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Object>` | `currentState()`
    `protected Object` | `execute(Object data)`
    `protected Object` | `execute(Object[] data)`
    `org.wso2.siddhi.query.api.definition.Attribute.Type` | `getReturnType()`
    `protected void` | `init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors, org.wso2.siddhi.core.util.config.ConfigReader configReader, org.wso2.siddhi.core.config.SiddhiAppContext siddhiAppContext)`
    `void` | `restoreState(Map<String,Object> state)`
    `void` | `start()`
    `void` | `stop()`

    - ### Methods inherited from class org.wso2.siddhi.core.executor.function.FunctionExecutor

      `cloneExecutor, execute, getElementId, initExecutor`

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

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

- - ### Constructor Detail

    - #### ToXMLFunctionExtension

          public ToXMLFunctionExtension()

  - ### Method Detail

    - #### init

          protected void init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
                              org.wso2.siddhi.core.util.config.ConfigReader configReader,
                              org.wso2.siddhi.core.config.SiddhiAppContext siddhiAppContext)

      Specified by:
        `init` in class `org.wso2.siddhi.core.executor.function.FunctionExecutor`

    - #### execute

          protected Object execute(Object[] data)

      Specified by:
        `execute` in class `org.wso2.siddhi.core.executor.function.FunctionExecutor`

    - #### execute

          protected Object execute(Object data)

      Specified by:
        `execute` in class `org.wso2.siddhi.core.executor.function.FunctionExecutor`

    - #### start

          public void start()

    - #### stop

          public void stop()

    - #### getReturnType

          public org.wso2.siddhi.query.api.definition.Attribute.Type getReturnType()

    - #### currentState

          public Map<String,Object> currentState()

    - #### restoreState

          public void restoreState(Map<String,Object> state)

Copyright © 2017 WSO2. All rights reserved.