public interface Buildable
JSONUtil.buildSchema(Buildable)
to build simple schemas. Unlike the other
interfaces in this package, this is intended to be implemented by clients.Modifier and Type | Method and Description |
---|---|
Buildable |
getItems()
Buildable instance that represents the type of items in an array.
|
Iterable<Map.Entry<String,Buildable>> |
getProperties()
Entries that represent the properties for an object
|
JSONUtil.NodeType |
getType()
The node type of the
Buildable . |
Buildable getItems()
Iterable<Map.Entry<String,Buildable>> getProperties()
JSONUtil.NodeType getType()
Buildable
. Note: only JSONUtil.NodeType.OBJECT
is supported for the "root" buildable.