ucot.parser
Interface ParserInterface

All Superinterfaces:
ModulePropertyInterface
All Known Implementing Classes:
DummyParser, SimpleParser

public interface ParserInterface
extends ModulePropertyInterface

Interface for parsers within this program. Parsers are given usecase and they return ParsedData


Field Summary
static java.lang.String NOUN
           
static java.lang.String OBJECT
           
static java.lang.String SUBJECT
           
static java.lang.String VERB
           
 
Method Summary
 java.lang.String getName()
          Returns adapter's name.
 ParsedData parse(UseCase useCase)
          Parses given usecase and returns parsed data as a ParsedData object.
 
Methods inherited from interface ucot.ModulePropertyInterface
applyProperties, getProperties, loadDefaultProperties, loadProperties, saveProperties, setProperties
 

Field Detail

NOUN

static final java.lang.String NOUN
See Also:
Constant Field Values

VERB

static final java.lang.String VERB
See Also:
Constant Field Values

SUBJECT

static final java.lang.String SUBJECT
See Also:
Constant Field Values

OBJECT

static final java.lang.String OBJECT
See Also:
Constant Field Values
Method Detail

parse

ParsedData parse(UseCase useCase)
                 throws java.lang.Exception
Parses given usecase and returns parsed data as a ParsedData object.

Parameters:
useCase - Use case to parse.
Returns:
Parsed data as a ParsedData object.
Throws:
java.lang.Exception

getName

java.lang.String getName()
Returns adapter's name.

Returns:
Adapter's name.