org.ow2.jonas.lib.reconfig
Class XMLConfigurationData

java.lang.Object
  extended by org.ow2.jonas.lib.reconfig.XMLConfigurationData
All Implemented Interfaces:
IConfigurationData

public class XMLConfigurationData
extends Object
implements IConfigurationData

Define an object which implements IConfigurationData interface which handle xml file

Author:
Florent Benoit

Constructor Summary
XMLConfigurationData(String xml)
          Constructor.
 
Method Summary
 String getXml()
          Return the content of this object
 void setXml(String xml)
          Set the content of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigurationData

public XMLConfigurationData(String xml)
Constructor. handle a String

Parameters:
xml - content of the xml file
Method Detail

setXml

public void setXml(String xml)
Set the content of this object

Parameters:
xml - content of the file

getXml

public String getXml()
Return the content of this object

Returns:
xml content


Copyright © 2010 OW2 Consortium. All Rights Reserved.