org.robotframework.javalib.factory
Interface KeywordFactory<T extends Keyword>

All Known Implementing Classes:
AnnotationKeywordFactory, ApplicationContextKeywordFactory, CompositeKeywordFactory

public interface KeywordFactory<T extends Keyword>

Creates instances of keywords.

Author:
Sami Honkonen, Heikki Hulkko

Method Summary
 T createKeyword(java.lang.String keywordName)
          Creates an instance of the class implementing the given keyword name
 java.lang.String[] getKeywordNames()
          Returns all the names of the keywords that this factory can create
 

Method Detail

createKeyword

T createKeyword(java.lang.String keywordName)
Creates an instance of the class implementing the given keyword name

Parameters:
keywordName - keyword name (will be normalized, so pretty much any formatting will do)
Returns:
keyword instance

getKeywordNames

java.lang.String[] getKeywordNames()
Returns all the names of the keywords that this factory can create

Returns:
names of available keywords


Copyright © 2008. All Rights Reserved.