001    package org.bukkit.inventory;
002    
003    /**
004     * Interface to the inventory of an Enchantment Table.
005     */
006    public interface EnchantingInventory extends Inventory {
007    
008        /**
009         * Set the item being enchanted.
010         *
011         * @param item The new item
012         */
013        void setItem(ItemStack item);
014    
015        /**
016         * Get the item being enchanted.
017         *
018         * @return The current item.
019         */
020        ItemStack getItem();
021    }