|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParserMold<V>
Bean to store parser properties before creating the parser.
Nested Class Summary | |
---|---|
static class |
ParserMold.Parameter
Parameters given to a mold to specify the characteristics of a parser or its underlying format. |
Method Summary | ||
---|---|---|
|
getParser(Property<B,V> property,
ParserMold.Parameter parameter)
Creates a parser for the specified property and pattern. |
|
Class<V> |
getTargetType()
Returns the target type of the parsers created by this mold. |
Method Detail |
---|
<B> Parser<B> getParser(Property<B,V> property, ParserMold.Parameter parameter)
property
- property of the created parserparameter
- the set of parameters for the parser.
NullPointerException
- if parameter is null
or
if property or some parameter is null
and this mold does not
allow it.
IllegalArgumentException
- if the pattern cannot be interpreted
by this mold.Class<V> getTargetType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |