java.lang.Objectucot.ModuleProperties
ucot.parser.DummyParser
public class DummyParser
DummyParser which does absolutely nothing but helps avoiding null values in parser variables.
Field Summary |
---|
Fields inherited from class ucot.ModuleProperties |
---|
properties, propertiesURL |
Fields inherited from interface ucot.parser.ParserInterface |
---|
NOUN, OBJECT, SUBJECT, VERB |
Constructor Summary | |
---|---|
DummyParser()
|
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 class ucot.ModuleProperties |
---|
applyProperties, getProperties, loadDefaultProperties, loadProperties, saveProperties, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ucot.ModulePropertyInterface |
---|
applyProperties, getProperties, loadDefaultProperties, loadProperties, saveProperties, setProperties |
Constructor Detail |
---|
public DummyParser()
Method Detail |
---|
public ParsedData parse(UseCase useCase) throws java.lang.Exception
ParserInterface
parse
in interface ParserInterface
useCase
- Use case to parse.
java.lang.Exception
public java.lang.String getName()
ParserInterface
getName
in interface ParserInterface