jp.veritrans.tercerog.mdk.dto.processor
クラス ResElementProcessor

java.lang.Object
  上位を拡張 jp.veritrans.tercerog.mdk.dto.processor.ResElementProcessor

public class ResElementProcessor
extends Object

JSON文字列を操作するクラス。

バージョン:
1.0
作成者:
Veritrans Inc

コンストラクタの概要
ResElementProcessor(String json)
          コンストラクタ
 
メソッドの概要
 String find(String query)
          引数のパスが一致するエレメントを検索し、値を取得します
 String getJson()
          検索対象となっているJSONを取得します
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ResElementProcessor

public ResElementProcessor(String json)
                    throws MdkLocalException
コンストラクタ

パラメータ:
json - JSON文字列
例外:
MdkLocalException
メソッドの詳細

getJson

public String getJson()
検索対象となっているJSONを取得します

戻り値:
検索対象となっているJSON

find

public String find(String query)
            throws MdkLocalException
引数のパスが一致するエレメントを検索し、値を取得します

パラメータ:
query - 取得対象のエレメントを示すパス文字列
戻り値:
パスが一致するエレメントの値
例外:
MdkLocalException


Copyright © 2017. All rights reserved.