public abstract class AbstractType extends Object implements JSONType
JSONType.BooleanType, JSONType.DoubleType, JSONType.Empty, JSONType.Everything, JSONType.IntegerType, JSONType.NumberType, JSONType.StringType| Constructor and Description |
|---|
AbstractType() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
contains(Object o)
The central method of JSONType; the type encompasses the values for which contains returns true.
|
String |
explain(Object obj)
Returns a non-null String explanation, suitable for display to a user, explaining why the given object fails to conform to the JSONType's contains method.
|
boolean |
isOptional() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisJSONArray, isJSONObject, isJSONPointer, isJSONPrimitivepublic abstract boolean contains(Object o)
JSONTypepublic String explain(Object obj)
JSONTypepublic boolean isOptional()
isOptional in interface JSONTypeCopyright © 2015 MuleSoft, Inc.. All rights reserved.