org.opennms.netmgt.config
Class ChartConfigManager

java.lang.Object
  extended by org.opennms.netmgt.config.ChartConfigManager
Direct Known Subclasses:
ChartConfigFactory

public abstract class ChartConfigManager
extends Object

Author:
david

Constructor Summary
ChartConfigManager()
           
 
Method Summary
 ChartConfiguration getConfiguration()
           
static void parseXml(Reader reader)
           
 void saveCurrent()
           
protected abstract  void saveXml(String xml)
           
 void setConfiguration(ChartConfiguration configuration)
           
protected abstract  void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartConfigManager

public ChartConfigManager()
Method Detail

parseXml

public static void parseXml(Reader reader)
                     throws org.exolab.castor.xml.MarshalException,
                            org.exolab.castor.xml.ValidationException,
                            IOException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException

saveXml

protected abstract void saveXml(String xml)
                         throws IOException
Parameters:
xml -
Throws:
IOException

saveCurrent

public void saveCurrent()
                 throws org.exolab.castor.xml.MarshalException,
                        org.exolab.castor.xml.ValidationException,
                        IOException
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
IOException

getConfiguration

public ChartConfiguration getConfiguration()
                                    throws IOException,
                                           org.exolab.castor.xml.MarshalException,
                                           org.exolab.castor.xml.ValidationException
Returns:
Throws:
IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setConfiguration

public void setConfiguration(ChartConfiguration configuration)

update

protected abstract void update()
                        throws IOException,
                               org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException
IOException


Copyright © 2009. All Rights Reserved.