public RootData load(String nmfDocument)
throws FileIOException {
org.w3c.dom.Document domDoc;
try { domDoc = getXMLDocumentBuilder(nmfDocument).parse(nmfDocument); }
catch(SAXException ex) {
throw new FileIOException(
FileIOException.ERR_UNSUPPORTEDFORMAT,
nmfDocument
);
} catch(IOException ex)
{ throw new FileIOException(FileIOException.ERR_NOACCESS, nmfDocument); }
return(new Data(null, domDoc.getDocumentElement()));
}