org.opensolaris.opengrok.analysis.plain
Class XMLAnalyzerFactory

java.lang.Object
  extended by org.opensolaris.opengrok.analysis.FileAnalyzerFactory
      extended by org.opensolaris.opengrok.analysis.plain.XMLAnalyzerFactory

public class XMLAnalyzerFactory
extends FileAnalyzerFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class org.opensolaris.opengrok.analysis.FileAnalyzerFactory
FileAnalyzerFactory.Matcher
 
Constructor Summary
XMLAnalyzerFactory()
           
 
Method Summary
protected  FileAnalyzer newAnalyzer()
          Create a new analyzer.
 void writeXref(java.io.Reader in, java.io.Writer out, Annotation annotation, Project project)
          Write a cross referenced HTML file.
 
Methods inherited from class org.opensolaris.opengrok.analysis.FileAnalyzerFactory
getAnalyzer, getGenre
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLAnalyzerFactory

public XMLAnalyzerFactory()
Method Detail

newAnalyzer

protected FileAnalyzer newAnalyzer()
Description copied from class: FileAnalyzerFactory
Create a new analyzer.

Overrides:
newAnalyzer in class FileAnalyzerFactory
Returns:
an analyzer

writeXref

public void writeXref(java.io.Reader in,
                      java.io.Writer out,
                      Annotation annotation,
                      Project project)
               throws java.io.IOException
Description copied from class: FileAnalyzerFactory
Write a cross referenced HTML file. Reads the source from in.

Overrides:
writeXref in class FileAnalyzerFactory
Parameters:
in - input source
out - output xref writer
annotation - annotation for the file (could be null)
project - project the file belongs to (could be null)
Throws:
java.io.IOException - if an error occurs