Traceability

tte.analyzers.basics
Class DefaultAnalyzer

java.lang.Object
  extended by tte.analyzers.basics.DefaultAnalyzer
All Implemented Interfaces:
IAnalyzer

public class DefaultAnalyzer
extends java.lang.Object
implements IAnalyzer

Class taht represents the default analyzer OwningClass used by the default documentAnalyzer extension.


Constructor Summary
DefaultAnalyzer()
           
 
Method Summary
 void executeConversionMethodID(java.lang.String id, java.io.File inFile, java.io.File outFile, java.lang.String defaultConversionArguments, Document document)
          Runs the conversion of the method which id is in parameter.
 void executeEditionMethodID(java.lang.String id, Document document, Element element)
          Runs the edition method which id is in parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAnalyzer

public DefaultAnalyzer()
Method Detail

executeConversionMethodID

public final void executeConversionMethodID(java.lang.String id,
                                            java.io.File inFile,
                                            java.io.File outFile,
                                            java.lang.String defaultConversionArguments,
                                            Document document)
                                     throws AnalyzerMethodException,
                                            ConversionException
Runs the conversion of the method which id is in parameter.

Specified by:
executeConversionMethodID in interface IAnalyzer
Parameters:
id - is the method id
inFile - is the source file
outFile - is the file that will contains the result of conversion
defaultConversionArguments - is a string tha represents common arguments from the conversion Method declaration
Throws:
AnalyzerMethodException - if an exception occurs during instanciation of OwningClass
ConversionException - if an occurs during the conversion
See Also:
tte.analyzers.IAnalyzer#executeConversionMethodID(java.lang.String, java.io.File, java.io.File, java.lang.String)

executeEditionMethodID

public void executeEditionMethodID(java.lang.String id,
                                   Document document,
                                   Element element)
                            throws AnalyzerMethodException,
                                   EditionException
Runs the edition method which id is in parameter.

Specified by:
executeEditionMethodID in interface IAnalyzer
Throws:
AnalyzerMethodException - if an exception occurs during instanciation of OwningClass
EditionException - if an occurs during the conversion
See Also:
tte.analyzers.IAnalyzer#executeConversionMethodID(java.lang.String, java.io.File, java.io.File, java.lang.String)

Traceability

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.