com.metaparadigm.jsonrpc
Class ObjectMatch

java.lang.Object
  extended by com.metaparadigm.jsonrpc.ObjectMatch

public class ObjectMatch
extends java.lang.Object

This class is returned from the Serializer tryUnmarshall method to indicate number of mismatched fields. This is used to handle ambiguities with JavaScript's typeless objects combined with and Java's operator overloading.


Field Summary
static ObjectMatch NULL
           
static ObjectMatch OKAY
           
 
Constructor Summary
ObjectMatch(int mismatch)
           
 
Method Summary
 ObjectMatch max(ObjectMatch m)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final ObjectMatch NULL

OKAY

public static final ObjectMatch OKAY
Constructor Detail

ObjectMatch

public ObjectMatch(int mismatch)
Method Detail

max

public ObjectMatch max(ObjectMatch m)


Copyright © 2005 Metaparadigm Pte Ltd.