static KAFDocument load ( File file ) throws IOException , JDOMException , KAFNotValidException { SAXBuilder builder = new SAXBuilder ( ) ; Document document = ( Document ) builder . build ( file ) ; Element rootElem = document . getRootElement ( ) ; return DOMToKAF ( document ) ; }
Loads the content of a KAF file into the given KAFDocument object