E
- the element that the factory returnspublic abstract class AbstractFactory<E>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<InputParser<E>> |
parsers |
protected WorldEdit |
worldEdit |
Modifier | Constructor and Description |
---|---|
protected |
AbstractFactory(WorldEdit worldEdit)
Create a new factory.
|
Modifier and Type | Method and Description |
---|---|
E |
parseFromInput(java.lang.String input,
ParserContext context) |
protected final WorldEdit worldEdit
protected final java.util.List<InputParser<E>> parsers
protected AbstractFactory(WorldEdit worldEdit)
worldEdit
- the WorldEdit instancepublic E parseFromInput(java.lang.String input, ParserContext context) throws InputParseException
InputParseException