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
Fields Modifier and Type Field and Description static java.lang.StringTYPE-
Fields inherited from interface hep.aida.ref.plotter.style.registry.IStyleStore
STYLE_PREVIEW_TYPE, STYLE_STORE_NAME
-
-
Constructor Summary
Constructors Constructor and Description XMLStyleStore(java.lang.String storeName)XMLStyleStore(java.lang.String storeName, 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclose()Close all connections and free all resources.voidcommit()Write all information from Store to the undelying persistent facility: XML file, database, etc.java.lang.StringgetCommitFileName()booleanisReadOnly()static voidmain(java.lang.String[] args)voidsetCommitFileName(java.lang.String commitFileName)voidsetReadOnly(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
-
-
-
-
Constructor Detail
-
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, IPlotterStyle[] styles, boolean isReadOnly)
-
-
Method Detail
-
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:
isReadOnlyin interfaceIStyleStore- Overrides:
isReadOnlyin classBaseStyleStore
-
commit
public void commit()
Description copied from class:BaseStyleStoreWrite all information from Store to the undelying persistent facility: XML file, database, etc.- Specified by:
commitin interfaceIStyleStore- Specified by:
commitin classBaseStyleStore
-
close
public void close()
Description copied from class:BaseStyleStoreClose all connections and free all resources. Store is not usable after this method is executed.- Specified by:
closein interfaceIStyleStore- Overrides:
closein classBaseStyleStore
-
main
public static void main(java.lang.String[] args)
-
-
DMelt 3.0 © DataMelt by jWork.ORG