org.nakedobjects.plugins.xml.objectstore.internal.data.xml
Class XmlFile
java.lang.Object
org.nakedobjects.plugins.xml.objectstore.internal.data.xml.XmlFile
public class XmlFile
- extends java.lang.Object
|
Method Summary |
void |
delete(java.lang.String fileName)
|
java.io.File |
getDirectory()
|
static java.lang.String |
getValueWithSpecialsEscaped(java.lang.String s)
|
boolean |
isFixturesInstalled()
The XML store is deemed to be initialised if the directory used to store the data has no xml files in
it. |
boolean |
parse(org.xml.sax.ContentHandler handler,
java.lang.String fileName)
|
void |
writeXml(java.lang.String name,
java.lang.StringBuffer buf)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ENCODING
public static final java.lang.String DEFAULT_ENCODING
- See Also:
- Constant Field Values
XmlFile
public XmlFile(NakedObjectConfiguration configuration,
java.lang.String directory)
getValueWithSpecialsEscaped
public static java.lang.String getValueWithSpecialsEscaped(java.lang.String s)
getDirectory
public java.io.File getDirectory()
writeXml
public void writeXml(java.lang.String name,
java.lang.StringBuffer buf)
parse
public boolean parse(org.xml.sax.ContentHandler handler,
java.lang.String fileName)
delete
public void delete(java.lang.String fileName)
isFixturesInstalled
public boolean isFixturesInstalled()
- The XML store is deemed to be initialised if the directory used to store the data has no xml files in
it.
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.