public abstract class ChartConfigManager extends Object
Abstract ChartConfigManager class.
Constructor and Description |
---|
ChartConfigManager() |
Modifier and Type | Method and Description |
---|---|
ChartConfiguration |
getConfiguration()
getConfiguration
|
static void |
parseXml(InputStream stream)
parseXml
|
void |
saveCurrent()
saveCurrent
|
protected abstract void |
saveXml(String xml)
saveXml
|
void |
setConfiguration(ChartConfiguration configuration)
setConfiguration
|
protected abstract void |
update()
update
|
public static void parseXml(InputStream stream) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, IOException
parseXml
stream
- a InputStream
object.org.exolab.castor.xml.MarshalException
- if any.org.exolab.castor.xml.ValidationException
- if any.IOException
- if any.protected abstract void saveXml(String xml) throws IOException
saveXml
xml
- a String
object.IOException
- if any.public void saveCurrent() throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException, IOException
saveCurrent
org.exolab.castor.xml.MarshalException
- if any.org.exolab.castor.xml.ValidationException
- if any.IOException
- if any.public ChartConfiguration getConfiguration() throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
getConfiguration
ChartConfiguration
object.IOException
- if any.org.exolab.castor.xml.MarshalException
- if any.org.exolab.castor.xml.ValidationException
- if any.public void setConfiguration(ChartConfiguration configuration)
setConfiguration
configuration
- a ChartConfiguration
object.protected abstract void update() throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
update
org.exolab.castor.xml.ValidationException
- if any.org.exolab.castor.xml.MarshalException
- if any.IOException
- if any.Copyright © 2017. All rights reserved.