KafSaxParser is a Java library that reads and writes KAF and NAF files. It provides an API to the in-memory structure of all the data elements and layers in NAF/KAF.
The source-code is available in the following github repository:
git@github.com:cltl/KafSaxParser.git
The library is compiled on Mac OS X version 10.6.8 with Java 1.6.