public class JsonValueParser<T> extends Object implements ValueParser<T>
Constructor and Description |
---|
JsonValueParser(com.fasterxml.jackson.core.JsonParser parser) |
JsonValueParser(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.JsonNode node) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.core.JsonParser |
getParser() |
Map<String,String> |
getPotentiallyRelevantNamespaces()
Returns namespaces that could be relevant when serializing unparsed string value
of this item.
|
String |
getStringValue()
Returns the value represented as string - in the best format that we can.
|
boolean |
isEmpty() |
T |
parse(QName typeName,
XNodeProcessorEvaluationMode mode) |
String |
toString() |
public JsonValueParser(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.JsonNode node)
public JsonValueParser(com.fasterxml.jackson.core.JsonParser parser)
public com.fasterxml.jackson.core.JsonParser getParser()
public T parse(QName typeName, XNodeProcessorEvaluationMode mode) throws SchemaException
parse
in interface ValueParser<T>
SchemaException
public boolean isEmpty()
isEmpty
in interface ValueParser<T>
public String getStringValue()
ValueParser
getStringValue
in interface ValueParser<T>
public Map<String,String> getPotentiallyRelevantNamespaces()
ValueParser
getPotentiallyRelevantNamespaces
in interface ValueParser<T>
Copyright © 2016 evolveum. All rights reserved.