|
Traceability | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttte.analyzers.ExtendedAnalyzerConversionMethod
public class ExtendedAnalyzerConversionMethod
Class that represents the analyzer method instanciated from the parsing of an extension to DocumentAnalyzer extension point.
Constructor Summary | |
---|---|
ExtendedAnalyzerConversionMethod(org.eclipse.core.runtime.IConfigurationElement aConfigElement,
IAnalyzer parentAnalyzer)
Creates a new instance of analyzer method. |
Method Summary | |
---|---|
void |
executeConversion(java.io.File sourceFile,
java.io.File destFile,
ExtendedAnalyzer extAnalyzer,
Document document)
Runs the conversion. |
protected static java.lang.String |
getAttribute(org.eclipse.core.runtime.IConfigurationElement configElement,
java.lang.String name,
java.lang.String defaultValue)
Gets an attribute which name is in parameter, from the configElement. |
java.lang.String |
getID()
Gets the id of the method, computed from the name and the version values. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtendedAnalyzerConversionMethod(org.eclipse.core.runtime.IConfigurationElement aConfigElement, IAnalyzer parentAnalyzer)
aConfigElement
- contains the information from extension parsing
to create this methodMethod Detail |
---|
public final java.lang.String getID()
public final void executeConversion(java.io.File sourceFile, java.io.File destFile, ExtendedAnalyzer extAnalyzer, Document document) throws AnalyzerMethodException, ConversionException
sourceFile
- is the file that will be converted into XMLdestFile
- is the XML file complete during the conversiondocumentArguments
- is the specific arguments that come from Document definition
AnalyzerMethodException
- if an exception occurs
during instanciation of OwningClass
ConversionException
- if an exception occurs during the conversionprotected static java.lang.String getAttribute(org.eclipse.core.runtime.IConfigurationElement configElement, java.lang.String name, java.lang.String defaultValue)
configElement
- structure of element from the extension analysisname
- of the requested attributedefaultValue
- if the attribute do not have a value
|
Traceability | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.