org.infinispan.schematic.internal.document
Interface JsonReader.ValueMatcher
- All Known Implementing Classes:
- JsonReader.DateValueMatcher, JsonReader.SimpleValueMatcher
- Enclosing class:
- JsonReader
@NotThreadSafe
public static interface JsonReader.ValueMatcher
The component that matches a string value for certain patterns. If the value matches a known pattern, it return the
appropriate value object; otherwise, the supplied string value is returned.
- Since:
- 5.1
Method Summary |
Object |
parseValue(String value)
Parse the value given by the supplied string into an appropriate value object. |
parseValue
Object parseValue(String value)
- Parse the value given by the supplied string into an appropriate value object. This method looks for specific patterns
of Date strings; if no known pattern is found, it just returns the supplied value.
- Parameters:
value
- the string representation of the value
- Returns:
- the value
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.