XDC - v. 0.6.1

net.sf.xdc.processing
Class SourceProcessor

java.lang.Object
  extended bynet.sf.xdc.processing.SourceProcessor

public class SourceProcessor
extends java.lang.Object

This class is responsible for generating HTML pages containing the contents of XML source files (in HTML format), decorated with line numbers and named anchors (enumerated by the current line numbers).

Since:
0.5
Version:
0.5
Author:
Jens Voß

Constructor Summary
SourceProcessor(java.io.File outDir)
          Public constructor.
 
Method Summary
 void processSource(XdcSource source, java.nio.charset.Charset sourceEncoding, java.nio.charset.Charset targetEncoding)
          This method is responsible for generating the HTML version of the source file specified by the source parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceProcessor

public SourceProcessor(java.io.File outDir)
Public constructor.

Parameters:
outDir - The output directory for this SourceProcessor
Method Detail

processSource

public void processSource(XdcSource source,
                          java.nio.charset.Charset sourceEncoding,
                          java.nio.charset.Charset targetEncoding)
This method is responsible for generating the HTML version of the source file specified by the source parameter.

Parameters:
source - The XdcSource object for which source HTML is generated
sourceEncoding - The Charset used for interpreting the source file
targetEncoding - The Charset used for writing to the output file

XDC - v. 0.6.1