Package org.openhab.core.library
Class CoreItemFactory
java.lang.Object
org.openhab.core.library.CoreItemFactory
- All Implemented Interfaces:
 ItemFactory
CoreItemFactory-Implementation for the core ItemTypes- Author:
 - Thomas Eichstaedt-Engelen - Initial contribution, Kai Kreuzer - Initial contribution, Alexander Kostadinov - Initial contribution
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription@Nullable GenericItemcreateItem(@Nullable String itemTypeName, String itemName) Creates a new Item instance of typeitemTypeNameand the nameitemNameString[]Returns the list of all supported ItemTypes of this Factory. 
- 
Field Details
- 
CALL
- See Also:
 
 - 
COLOR
- See Also:
 
 - 
CONTACT
- See Also:
 
 - 
DATETIME
- See Also:
 
 - 
DIMMER
- See Also:
 
 - 
IMAGE
- See Also:
 
 - 
LOCATION
- See Also:
 
 - 
NUMBER
- See Also:
 
 - 
PLAYER
- See Also:
 
 - 
ROLLERSHUTTER
- See Also:
 
 - 
STRING
- See Also:
 
 - 
SWITCH
- See Also:
 
 
 - 
 - 
Constructor Details
- 
CoreItemFactory
 
 - 
 - 
Method Details
- 
createItem
Description copied from interface:ItemFactoryCreates a new Item instance of typeitemTypeNameand the nameitemName- Specified by:
 createItemin interfaceItemFactory- Returns:
 - a new Item of type 
itemTypeNameornullif no matching class is known. 
 - 
getSupportedItemTypes
Description copied from interface:ItemFactoryReturns the list of all supported ItemTypes of this Factory.- Specified by:
 getSupportedItemTypesin interfaceItemFactory- Returns:
 - the supported ItemTypes
 
 
 -