|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Factory for creating pilots and scripters. This interface is a factory for creating Pilots ans Scripters. The factory object is is used to create pilots as well as to check whether a given pilot supports a certain content.
| Method Summary | |
Pilot |
createPilot(ContentLoader loader)
Create a pilot to display the content that is being loaded by the ContentLoader. |
Pilot |
createPilot(String contentType)
Create a pilot for a given content type. |
Scripter |
createScripter(String scriptName)
Create an interpreter for procesing commands in scripting language called scriptName |
Enumeration |
getAllPilotInfos()
Get a enumeration of all PilotInfos that describe all (so far) known pilots. |
Enumeration |
getAllScripterInfos()
Get a enumeration of all ScripterInfos describing all (so far) known scripters |
ScripterInfo |
getScripterInfo(String alias)
|
boolean |
isContentTypeSupported(Pilot pilot,
ContentLoader loader,
String contentType)
Check whether the specified pilot can display the data of a given content type or that is going to be loaded by the ContentLoader. |
| Method Detail |
public Pilot createPilot(String contentType)
contentType - content type of the data
public Pilot createPilot(ContentLoader loader)
loader - ContentLoader that is doing the loading of the data
public boolean isContentTypeSupported(Pilot pilot,
ContentLoader loader,
String contentType)
pilot - Pilot that is being checkedloader - ContentLoader that is doing the loading of the datacontentType - contentType of the data. If this value is specified
it overrides the contentType that is determined by the loader.
public Enumeration getAllPilotInfos()
public Scripter createScripter(String scriptName)
createScripter in interface ScripterFactoryscriptName - name of the scripting language
public ScripterInfo getScripterInfo(String alias)
getScripterInfo in interface ScripterFactorypublic Enumeration getAllScripterInfos()
getAllScripterInfos in interface ScripterFactory
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||