public class TypeRegistry extends Object
| Constructor and Description |
|---|
TypeRegistry(Schema schema)
Create a new TypeRegistry based on the specified Schema
|
| Modifier and Type | Method and Description |
|---|---|
Type |
findType(String name)
findType - return the type in the schema with a matching name
|
static String |
typeName(Type type)
typeName - given a Type (a Union type), return the name of the type.
|
public TypeRegistry(Schema schema)
schema - the schema containing the typesCopyright © 2016–2021 Verizon Media. All rights reserved.