net.riotopsys.json_patch.operation
Class AbsOperation

java.lang.Object
  extended by net.riotopsys.json_patch.operation.AbsOperation
Direct Known Subclasses:
AddOperation, MoveOperation, RemoveOperation, ReplaceOperation

public abstract class AbsOperation
extends Object

Created by afitzgerald on 8/4/14.


Field Summary
 JsonPath path
           
 
Constructor Summary
AbsOperation()
           
 
Method Summary
abstract  com.google.gson.JsonElement apply(com.google.gson.JsonElement original)
           
protected  com.google.gson.JsonElement duplicate(com.google.gson.JsonElement original)
           
abstract  String getOperationName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

path

public JsonPath path
Constructor Detail

AbsOperation

public AbsOperation()
Method Detail

getOperationName

public abstract String getOperationName()

apply

public abstract com.google.gson.JsonElement apply(com.google.gson.JsonElement original)

duplicate

protected com.google.gson.JsonElement duplicate(com.google.gson.JsonElement original)


Copyright © 2014. All rights reserved.