# com.bea.control.DynamicTransformation
DynamicTransformation Interface

public interface DynamicTransformation
extends `Control`

All Superinterfaces
  `Control`, `Serializable`

## Method Summary

`public `XmlObject`` | `convertBytesToXML`(byte[] data, `String` mflUrl) Executes MFL Transformation
`public `XmlObject`` | `convertInputStreamToXML`(`InputStream` iStream, `String` mflUrl) Executes MFL Transformation
`public `XmlObject`` | `convertRawDataToXML`(`RawData` rawData, `String` mflUrl) Executes MFL Transformation
`public byte[]` | `convertXmlToBytes`(`XmlObject` xmlObject, `String` mflUrl) Executes MFL Translation from a Xml Data to Non-XML data
`public `RawData`` | `convertXmlToRawData`(`XmlObject` xmlObject, `String` mflUrl) Executes MFL Translation from a Xml Data to Non-XML data
`public `XmlObject`[]` | `performXQuery`(`String` xQueryName, `HashMap` inputList) Executes a Xquery which takes unknown arguments at run time
`public `XmlObject`` | `performXQueryOnXmlObject`(`String` xQueryName, `XmlObject` inputDoc, `String` varName) Executes a Xquery which takes a XmlObject in and XmlObject Out
`public `XmlObject`` | `performXSLT`(`String` xslTemplate, `XmlObject` source, `HashMap` inputList) Executes a XSLT Transformation which takes unknown primitive java arguments at run time

## Method Detail

### convertBytesToXML(byte[], String) Method

    public XmlObject convertBytesToXML(byte[] data,
                                       String mflUrl)
         throws ResourceException

Executes MFL Transformation

#### Parameters

data
  the binary data

mflUrl
  the url pointing to the URL file

#### Returns

xmlObject the xmlObject out

#### Exceptions

``ResourceException``
  if any exception occurs while get

### convertInputStreamToXML(InputStream, String) Method

    public XmlObject convertInputStreamToXML(InputStream iStream,
                                             String mflUrl)
         throws ResourceException

Executes MFL Transformation

#### Parameters

iStream
  the inputStream containing the binary data

mflUrl
  the url pointing to the URL file

#### Returns

xmlObject the xmlObject out

#### Exceptions

``ResourceException``
  if any exception occurs while get

### convertRawDataToXML(RawData, String) Method

    public XmlObject convertRawDataToXML(RawData rawData,
                                         String mflUrl)
         throws ResourceException

Executes MFL Transformation

#### Parameters

rawData
  the RawData containing the binary data

mflUrl
  the url pointing to the URL file

#### Returns

xmlObject the xmlObject out

#### Exceptions

``ResourceException``
  if any exception occurs while get

### convertXmlToBytes(XmlObject, String) Method

    public byte[] convertXmlToBytes(XmlObject xmlObject,
                                  String mflUrl)
         throws ResourceException

Executes MFL Translation from a Xml Data to Non-XML data

#### Parameters

xmlObject
  XmlObject

mflUrl
  url string which points to the mfl file

#### Returns

byte[] which is the Non-XML Data

#### Exceptions

``ResourceException``
  if any exception occurs while get

### convertXmlToRawData(XmlObject, String) Method

    public RawData convertXmlToRawData(XmlObject xmlObject,
                                       String mflUrl)
         throws ResourceException

Executes MFL Translation from a Xml Data to Non-XML data

#### Parameters

xmlObject
  XmlObject

mflUrl
  url string which points to the mfl file

#### Returns

RawData which is the Non-XML Data

#### Exceptions

``ResourceException``
  if any exception occurs while get

### performXQuery(String, HashMap) Method

    public XmlObject[] performXQuery(String xQueryName,
                                   HashMap inputList)
         throws ResourceException

Executes a Xquery which takes unknown arguments at run time

#### Parameters

xQueryName
  Xquery String

inputList
  which takes a map of variable names and the Input documments

#### Returns

xmlObject the xmlObject out

#### Exceptions

``ResourceException``
  if any exception occurs while get

### performXQueryOnXmlObject(String, XmlObject, String) Method

    public XmlObject performXQueryOnXmlObject(String xQueryName,
                                              XmlObject inputDoc,
                                              String varName)
         throws ResourceException

Executes a Xquery which takes a XmlObject in and XmlObject Out

#### Parameters

xQueryName
  Xquery String

inputDoc
  the xmlObject Document

varName
  the variable named used for the xmlDocument in the Xquery

#### Returns

xmlObject the xmlObject out

#### Exceptions

``ResourceException``
  if any exception occurs while get

### performXSLT(String, XmlObject, HashMap) Method

    public XmlObject performXSLT(String xslTemplate,
                                 XmlObject source,
                                 HashMap inputList)
         throws ResourceException

Executes a XSLT Transformation which takes unknown primitive java arguments at run time

#### Parameters

xslTemplate
  URI string which points to the Xsl Template file

source
  the XML file which needs to be transformed

inputList
  which takes a map of variable names and the objects

#### Returns

xmlObject the xmlObject out

#### Exceptions

``ResourceException``
  if any exception occurs while get