public class JsonPropertyAccessor extends ObjectSE implements PropertyAccessor
PropertyAccessor。ネストされたプロパティへのアクセスに Jackson JsonNode API を使用します。| 修飾子と型 | クラスと説明 |
|---|---|
static class | JsonPropertyAccessor.ArrayNodeAsList |
static class | JsonPropertyAccessor.ToStringFriendlyJsonNodeJsonNode を文字列として表す JsonPropertyAccessor.WrappedJsonNode 実装。 |
static interface | JsonPropertyAccessor.WrappedJsonNode<T extends com.fasterxml.jackson.databind.JsonNode> ラップされた JsonNode の基本インターフェース。 |
| コンストラクターと説明 |
|---|
JsonPropertyAccessor() |
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | canRead(EvaluationContext context, ObjectSE target, StringSE name) |
boolean | canWrite(EvaluationContext context, ObjectSE target, StringSE name) |
ClassSE<?>[] | getSpecificTargetClasses() |
TypedValue | read(EvaluationContext context, ObjectSE target, StringSE name) |
void | setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
static JsonPropertyAccessor.WrappedJsonNode<?> | wrap(com.fasterxml.jackson.databind.JsonNode json) |
void | write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public ClassSE<?>[] getSpecificTargetClasses()
PropertyAccessor 内の getSpecificTargetClasses public boolean canRead(EvaluationContext context, ObjectSE target, StringSE name) throws AccessException
PropertyAccessor 内の canRead AccessExceptionpublic TypedValue read(EvaluationContext context, ObjectSE target, StringSE name) throws AccessException
PropertyAccessor 内の read AccessExceptionpublic boolean canWrite(EvaluationContext context, ObjectSE target, StringSE name)
PropertyAccessor 内の canWrite public void write(EvaluationContext context, ObjectSE target, StringSE name, ObjectSE newValue)
PropertyAccessor 内の write public static JsonPropertyAccessor.WrappedJsonNode<?> wrap(com.fasterxml.jackson.databind.JsonNode json)