@NotThreadSafe public static class JsonReader.SimpleValueMatcher extends Object implements JsonReader.ValueMatcher
| Modifier and Type | Field and Description |
|---|---|
protected DocumentValueFactory |
values |
| Constructor and Description |
|---|
SimpleValueMatcher(DocumentValueFactory values)
Create a new matcher that uses the supplied
DocumentValueFactory instance. |
| Modifier and Type | Method and Description |
|---|---|
Object |
parseValue(String value)
Parse the value given by the supplied string into an appropriate value object.
|
protected final DocumentValueFactory values
public SimpleValueMatcher(DocumentValueFactory values)
DocumentValueFactory instance.values - the factory for creating value objects; may not be nullpublic Object parseValue(String value)
parseValue in interface JsonReader.ValueMatchervalue - the string representation of the valueCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.