com.notuvy.xml
Class PersistentJdom
java.lang.Object
com.notuvy.xml.SimpleJdom
com.notuvy.xml.PersistentJdom
- Direct Known Subclasses:
- GenericConfigurationFile, ScriptGenerator, WindowLocation
public abstract class PersistentJdom
- extends SimpleJdom
A generic object that can be represented as XML and saved to a file.
This is useful when the full DOM tree is small enough to be comfortably
held all in memory.
User: murali
Date: Dec 30, 2007
Time: 7:56:40 AM
Methods inherited from class com.notuvy.xml.SimpleJdom |
addChildElement, createFormat, createRoot, getChildInteger, getChildLong, getChildren, getChildrenOfContainer, getChildText, getFormat, getStorage, isValidRoot, parse, readFrom, readFrom, readFromContent, reportXmlParseError, rootName, saveTo, setStorage, toDocument, toString, toXml, toXmlString |
PersistentJdom
protected PersistentJdom(File pFileImage)
getFileImage
public File getFileImage()
isOnlySaveIfChanged
public boolean isOnlySaveIfChanged()
setOnlySaveIfChanged
public void setOnlySaveIfChanged(boolean pOnlySaveIfChanged)
save
public XmlIOStatus save()
read
public XmlIOStatus read()
readIfFileExists
public XmlIOStatus readIfFileExists()
readOrCreate
public XmlIOStatus readOrCreate()
Copyright © 2013. All Rights Reserved.