public class ItemsSectionParser extends SectionParser<ItemsSectionResult>
Modifier and Type | Field and Description |
---|---|
protected ActionParser |
actionParser |
protected ActionTypes |
actionTypes |
protected ItemParser |
itemParser |
protected double |
multiplier |
debugger
Constructor and Description |
---|
ItemsSectionParser(ItemParser itemParser,
ActionParser actionParser,
ActionTypes types,
double multiplier) |
Modifier and Type | Method and Description |
---|---|
ItemsSectionResult |
parse(org.bukkit.configuration.ConfigurationSection input,
java.lang.String sectionName)
Transforms a configuration object, represented by a key, into an object.
|
getDebugger, isCollectExceptions, setDebugger
protected ItemParser itemParser
protected ActionParser actionParser
protected ActionTypes actionTypes
protected double multiplier
public ItemsSectionParser(ItemParser itemParser, ActionParser actionParser, ActionTypes types, double multiplier)
public ItemsSectionResult parse(org.bukkit.configuration.ConfigurationSection input, java.lang.String sectionName) throws ParsingException
ConfigurationParser
parse
in class ConfigurationParser<ItemsSectionResult>
input
- - the configuration section in which the object is stored.sectionName
- - the key of the configuration object.ParsingException
- An error occurred during the parsing.