hep.aida.ref.plotter.style.registry
Class XMLStyleStore
java.lang.Object
hep.aida.ref.plotter.style.registry.BaseStyleStore
hep.aida.ref.plotter.style.registry.XMLStyleStore
- All Implemented Interfaces:
- IStyleStore
public class XMLStyleStore
- extends BaseStyleStore
Field Summary |
static java.lang.String |
TYPE
|
Constructor Summary |
XMLStyleStore(java.lang.String storeName)
|
XMLStyleStore(java.lang.String storeName,
hep.aida.IPlotterStyle[] styles,
boolean isReadOnly)
|
XMLStyleStore(java.lang.String storeName,
java.lang.String storeType)
|
XMLStyleStore(java.lang.String storeName,
java.lang.String storeType,
boolean isReadOnly)
|
Method Summary |
void |
close()
Close all connections and free all resources. |
void |
commit()
Write all information from Store to the undelying persistent
facility: XML file, database, etc. |
java.lang.String |
getCommitFileName()
|
boolean |
isReadOnly()
|
static void |
main(java.lang.String[] args)
|
void |
setCommitFileName(java.lang.String commitFileName)
|
void |
setReadOnly(boolean isReadOnly)
|
Methods inherited from class hep.aida.ref.plotter.style.registry.BaseStyleStore |
addStoreEntry, addStyle, addStyle, createRule, getAllStyleNames, getProperties, getRuleForStyle, getStoreEntry, getStoreName, getStoreType, getStyle, hasStyle, moveDown, moveDown, moveUp, moveUp, removeRuleForStyle, removeStyle, setRuleForStyle, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static java.lang.String TYPE
XMLStyleStore
public XMLStyleStore(java.lang.String storeName)
XMLStyleStore
public XMLStyleStore(java.lang.String storeName,
java.lang.String storeType)
XMLStyleStore
public XMLStyleStore(java.lang.String storeName,
java.lang.String storeType,
boolean isReadOnly)
XMLStyleStore
public XMLStyleStore(java.lang.String storeName,
hep.aida.IPlotterStyle[] styles,
boolean isReadOnly)
setReadOnly
public void setReadOnly(boolean isReadOnly)
getCommitFileName
public java.lang.String getCommitFileName()
setCommitFileName
public void setCommitFileName(java.lang.String commitFileName)
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interface IStyleStore
- Overrides:
isReadOnly
in class BaseStyleStore
commit
public void commit()
- Description copied from class:
BaseStyleStore
- Write all information from Store to the undelying persistent
facility: XML file, database, etc.
- Specified by:
commit
in interface IStyleStore
- Specified by:
commit
in class BaseStyleStore
close
public void close()
- Description copied from class:
BaseStyleStore
- Close all connections and free all resources.
Store is not usable after this method is executed.
- Specified by:
close
in interface IStyleStore
- Overrides:
close
in class BaseStyleStore
main
public static void main(java.lang.String[] args)
jHepWork 1.1 (C) Chekanov