The Doxia API is based on Sinks and Parser objects: its goal is to parse a given source model using a given parser, and emits Doxia events into the given sink.
The following snippet shows how to use the Doxia API:
File userDir = new File( System.getProperty ( "user.dir" ) );
|