org.chromium.sdk/src/org/chromium/sdk/internal/protocolparser/dynamicimpl/FieldLoadedFinisher.java
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
|
2 // Use of this source code is governed by a BSD-style license that can be |
|
3 // found in the LICENSE file. |
|
4 |
|
5 package org.chromium.sdk.internal.protocolparser.dynamicimpl; |
|
6 |
|
7 /** |
|
8 * Defines object responsible for converting values saved in {@link ObjectData} to types |
|
9 * returned to user. It is necessary, because for json type fields we save {@link ObjectData} |
|
10 * rather than instance of the type itself. |
|
11 */ |
|
12 abstract class FieldLoadedFinisher { |
|
13 abstract Object getValueForUser(Object cachedValue); |
|
14 } |