T - the parsed typepublic interface PrimitiveParser<T> extends Parser<T>
| Modifier and Type | Method and Description |
|---|---|
default T |
throwingParse(@NonNull Node node)
Parses a
Node into T. |
T |
throwingParse(@NonNull Node node,
@NonNull java.lang.String string)
|
default T throwingParse(@NonNull Node node) throws XMLException
ParserNode into T.throwingParse in interface Parser<T>node - the nodeXMLException - if an exception occurred while parsingT throwingParse(@NonNull Node node, @NonNull java.lang.String string) throws XMLException
node - the nodestring - the node valueXMLException - if an exception occurred while parsing