com.ibm.mashups.enabler
Interface Transformable


public Transformable

Interface for resources in the system that can be transformed


Method Summary
 Object getXml()
           Returns the xml representation of the resource.
 unknown setXml(Object xml)
           Sets the specified xml of the resource.
 

Method Detail

getXml

Object getXml()
Returns the xml representation of the resource. It may be modified, e.g. with an xsl transformation. WARNING: Please note that you must change the xml representation of the resource in a compatible way only, since the Enabler API operates on this representation. Otherwise the Enabler API may function incorrectly or break.

Returns:
the xml representation; never null

setXml

unknown setXml(Object xml)
Sets the specified xml of the resource. WARNING: Please note that you must set a valid xml representation of the resource, since the Enabler API operates on this representation. Otherwise the Enabler API may function incorrectly or break.

Parameters:
xml - the xml representation to set for the resource


Copyright IBM Corp. 2010 All Rights Reserved.