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