VirtualBox

source: vbox/trunk/src/libs/DITA-OT-1.8.5/docsrc/dev_ref/DITA-OTGenListModule.xml@ 98584

Last change on this file since 98584 was 98584, checked in by vboxsync, 2 years ago

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!-- This file is part of the DITA Open Toolkit project hosted on
3 Sourceforge.net. See the accompanying license.txt file for
4 applicable licenses.-->
5<!-- (C) Copyright IBM Corporation 2005. All Rights Reserved.
6 *-->
7<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
8<topic id="ditaot_genlistmodule" xml:lang="en-us">
9<title>DITA Open Toolkit GenList module</title>
10<shortdesc></shortdesc>
11<body>
12 <p>Here is the class diagram of a sample Java module 'GenListModule' in the
13 preprocessing stage</p>
14 <p>
15 <image href="images/javamodules.gif"></image>
16 </p>
17 <p>We use GenListModule which extends AbstractModule to control the whole
18 program logic of this module. MapReader is used to parse the input xml
19 file. It also implements the org.xml.sax.ContentHandler. Is used to
20 handle different information in xml file, collect and write the information
21 we need to class Content. ListWriter reads the information from class
22 GenListModule and outputs those lists into the intermediate files. </p>
23 <p>Here is the sequence diagram of the example. </p>
24 <p>
25 <image href="images/genlistmodule.gif"></image>
26 </p>
27 <p>GenListModule first creates MapReader and ListWriter. Then GenListModule
28 calls MapReader to read and parse the input file. In order to process the
29 large input file, we choose SAX Parser as the parser and each time we only
30 process one file and keep the list of files we will process later in the
31 waiting list of GenListModule. After the parse process is
32 over, GenListModule gets the result content from MapReader. Then
33 GenListModule processes the content and set the content to ListWriter. Then
34 it calls ListWriter to output the information to intermediate file.</p>
35</body>
36</topic>
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette