public class JsonSchemaGenerator
extends java.lang.Object
Purpose: This class generates an instance of JsonSchema based on an EclipseLink project and given a root class. The descriptor for the root class' mappings are traversed and the associated schema artifacts are created.
Constructor and Description |
---|
JsonSchemaGenerator(JAXBContext jaxbContext,
java.util.Map properties) |
Modifier and Type | Method and Description |
---|---|
JsonSchema |
generateSchema(java.lang.Class rootClass) |
public JsonSchemaGenerator(JAXBContext jaxbContext, java.util.Map properties)
public JsonSchema generateSchema(java.lang.Class rootClass)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference