All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Package Attributes | Private Member Functions | Private Attributes
instruction.importer.PlanImporter Class Reference

List of all members.

Public Member Functions

void addProgressListener (InstructionProgressListener listener)
void convert2CycAssertions () throws CycApiException, UnknownHostException, IOException, InstructionException
void generateRPLPlan () throws InstructionException
List< String > getAssertions ()
Disambiguator getDisambiguator ()
List< InstructiongetInstructions ()
SyntaxTree getParsedTitle ()
String getRPLPlan ()
List< SyntaxTreegetSyntaxTrees ()
Instruction getTitle ()
IHowtoWebsiteWrapper getWrapper ()
void importHowto (IHowtoWebsiteWrapper wrapper)
void initialize () throws Exception
void parseInstructions () throws InstructionException
void recognizeAndDisambiguateInstructions () throws Exception
void removeProgressListener (InstructionProgressListener listener)
void setAddMappingListener (AddCycMappingListener listener)
void setWrapper (IHowtoWebsiteWrapper wrp)

Package Attributes

Instruction2CycLConverter converter = null
Disambiguator disambiguator = null
PlanExporter exporter = null
InstructionFactory factory = null
Parser parser = null
InstructionPostProcessor postProc = null

Private Member Functions

void notifyProgressListeners (int percent, String msg)

Private Attributes

List< InstructioninstructionList = null
Instruction instTitle = null
List< String > nlInst = null
SyntaxTree parsedTitle = null
String planName = null
List< InstructionProgressListenerprogressListeners = new ArrayList<InstructionProgressListener>()
String rplPlan = null
List< SyntaxTreetrees = null
IHowtoWebsiteWrapper wrapper = null

Detailed Description

Definition at line 24 of file PlanImporter.java.


Member Function Documentation

Adds an implementation of the InstructionProgressListener interface to the set of listeners that will be notified about the transformation progress

Parameters:
listener

Definition at line 107 of file PlanImporter.java.

void instruction.importer.PlanImporter.convert2CycAssertions ( ) throws CycApiException, UnknownHostException, IOException, InstructionException [inline]

Definition at line 311 of file PlanImporter.java.

Definition at line 327 of file PlanImporter.java.

Definition at line 357 of file PlanImporter.java.

Returns the disambiguator component

Returns:

Definition at line 142 of file PlanImporter.java.

Definition at line 342 of file PlanImporter.java.

Definition at line 347 of file PlanImporter.java.

Definition at line 365 of file PlanImporter.java.

Definition at line 337 of file PlanImporter.java.

Definition at line 352 of file PlanImporter.java.

Definition at line 370 of file PlanImporter.java.

Imports the Howto given by the IHowtoWebsiteWrapper wrapper

Parameters:
wrapper

Definition at line 152 of file PlanImporter.java.

void instruction.importer.PlanImporter.initialize ( ) throws Exception [inline]

Initiailizes the plan importer

Exceptions:
UnknownHostException
CycApiException
IOException

Definition at line 54 of file PlanImporter.java.

void instruction.importer.PlanImporter.notifyProgressListeners ( int  percent,
String  msg 
) [inline, private]

Sends a notification event to all registered progress listeners

Parameters:
percent
msg

Definition at line 130 of file PlanImporter.java.

Definition at line 238 of file PlanImporter.java.

Definition at line 269 of file PlanImporter.java.

Removes the listener listener from the set of progress listeners

Parameters:
listener

Definition at line 119 of file PlanImporter.java.

Definition at line 375 of file PlanImporter.java.

Definition at line 95 of file PlanImporter.java.


Member Data Documentation

Definition at line 32 of file PlanImporter.java.

Definition at line 28 of file PlanImporter.java.

Definition at line 31 of file PlanImporter.java.

Definition at line 29 of file PlanImporter.java.

Definition at line 36 of file PlanImporter.java.

Definition at line 37 of file PlanImporter.java.

List<String> instruction.importer.PlanImporter.nlInst = null [private]

Definition at line 42 of file PlanImporter.java.

Definition at line 38 of file PlanImporter.java.

Definition at line 27 of file PlanImporter.java.

Definition at line 41 of file PlanImporter.java.

Definition at line 30 of file PlanImporter.java.

Definition at line 45 of file PlanImporter.java.

Definition at line 40 of file PlanImporter.java.

Definition at line 35 of file PlanImporter.java.

Definition at line 39 of file PlanImporter.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


comp_ehow
Author(s): Moritz Tenorth, Daniel Nyga
autogenerated on Tue Apr 16 2013 00:18:24